nightrome / cocostuff10k

The official homepage of the (outdated) COCO-Stuff 10K dataset.
https://arxiv.org/abs/1612.03716
277 stars 55 forks source link

How can I use this tool to annotate another dataset? #23

Closed gaqiness closed 6 years ago

gaqiness commented 6 years ago

I would like to use this stuff annotation tool to annotate another dataset(like coco-format) but how can I generate data/input/regions/***.mat ?

nightrome commented 6 years ago

See the instructions. This code extracts the superpixels.

gaqiness commented 6 years ago

@nightrome I want to transfer the .mat annotation file to a singel .json annotation file . I use convertAnnotationsJSON.py this script, but why I need annothor *.json file? "To run this script you need to download the COCO-Stuff code, COCO-Stuff dataset, COCO annotations and COCO API."

nightrome commented 6 years ago

That's because it combines our stuff annotations with the COCO thing annotations. You can just go through the code and remove that part. Otherwise take a look at this tutorial: https://patrickwasp.com/create-your-own-coco-style-dataset/