question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get coco json format?

See original GitHub issue

thanks, source code. I ran the Anaconda env, pytorch = 1.0.1 on winodws 10 I run the line python eval.py --trained_model=weights/yolact_base_54_800000.pth --score_threshold=0.15 --top_k=15 --image=my_image.png and then see the result image. Now, I hope to get the coco style’s json from this result image. so I typed python eval.py --trained_model=weights/yolact_base_54_800000.pth --output_coco_json --score_threshold=0.15 --top_k=15 --image=my_image.png but no generated json file anywhere.

result Config not specified. Parsed yolact_base_config from the file name. Loading model… Done.

How to get coco json file from my image data using eval.py ?

I will transfer coco json file to label me json file, then modify the polygon or add new polygon.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
PL-96commented, Apr 15, 2021

Have you solved it? You may get some help from #625. Give “–dataset” parameter instead of “–image”

0reactions
DongWoo-Namcommented, May 25, 2021

@7eta I also want to print out the result in the json file, but I can’t find a way. If the problem is solved, please share it with me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to work with object detection datasets in COCO format
The “COCO format” is a specific JSON structure dictating how labels and metadata are saved for an image dataset. Many blog posts exist...
Read more >
Create COCO Annotations From Scratch
The COCO dataset is formatted in JSON and is a collection of “info”, “licenses”, “images”, “annotations”, “categories” (in most cases), and “ ...
Read more >
What is the COCO JSON Annotation Format?
COCO is a common JSON format used for machine learning because the dataset it was introduced with has become a common benchmark.
Read more >
COCO JSON Format for Object Detection
The COCO dataset is formatted in JSON and is a collection of “info”, “licenses”, “images”, “annotations”, “categories” (in most cases), and “ ...
Read more >
COCO (JSON) Export Format
COCO (JSON) Export Format¶. COCO data format uses JSON to store annotations. It has five types of annotations: object detection, keypoint detection, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found