How to get coco json format?
See original GitHub issuethanks, 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:
- Created 2 years ago
- Comments:6
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you solved it? You may get some help from #625. Give “–dataset” parameter instead of “–image”
@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.