Git Product home page Git Product logo

Comments (7)

nightrome avatar nightrome commented on September 12, 2024

Unfortunately not yet. In fact we are currently working on annotating all images in COCO and the final dataset will be provided in JSON format. Could you tell me what use-case you have in mind?

from cocostuff10k.

ahundt avatar ahundt commented on September 12, 2024

I have python code that can load the COCO dataset and train a segmentation classifier, so with the same json format I could train on these new annotations simply by changing which annotation file I load. Thanks for the consideration!

from cocostuff10k.

nightrome avatar nightrome commented on September 12, 2024

Okay, I'll look into it. Only problem is that we don't have a notion of instances, as for the COCO things (1 car = 1 instance). So I guess I'll go with individual superpixels or connected components for now.

from cocostuff10k.

ahundt avatar ahundt commented on September 12, 2024

Cool! That will actually make this better than the original COCO for my use cases. I'm not using instances at the moment so I didn't consider that difference. Perhaps there is a clean way to handle that that would keep most existing code using upstream coco working correctly?

Some possibilities:

  1. Mark everything as a single instance and clearly explain this discrepancy up front in the docs/comments for the dataset
  2. Provide a patched fork of pycocotools that handles non-instance segmentations
    • Perhaps the upstream coco would also accept such a pull request if no breaking changes are introduced.
  3. Actually add instance annotations
    • This is super complicated and time intensive so I understand this is likely impractical.

Thanks again for considering this feedback!

from cocostuff10k.

nightrome avatar nightrome commented on September 12, 2024

Now I have created the JSON annotations. The solution I took was to create one annotation (in JSON) per label that is present in an image (not superpixels or connected components). To avoid overlap with the COCO thing labels I mapped the stuff labels to the range 92-182. For more information see https://github.com/nightrome/cocostuff#json-format.

I would appreciate if you could test the JSON format with your code and see if it behaves the same way as COCO.

from cocostuff10k.

ahundt avatar ahundt commented on September 12, 2024

Fantastic! With these, should I be able to use the images from the original COCO dataset or should I download your version linked on the readme separately?

from cocostuff10k.

nightrome avatar nightrome commented on September 12, 2024

Hi, the images are just copied and therefore the original is at least as good. Note that our JSON is just the stuff and no thing annotations, so you'll still need:http://msvocds.blob.core.windows.net/coco2014/train2014.zip

from cocostuff10k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.