Code Monkey home page Code Monkey logo

Comments (9)

acgtyrant avatar acgtyrant commented on May 27, 2024 3

I find it in the COCO official website.

from vision.

szagoruyko avatar szagoruyko commented on May 27, 2024

@fmassa don't think you need that, coco is already there and supports VOC json

from vision.

fmassa avatar fmassa commented on May 27, 2024

@szagoruyko in this case, we should provide a converter from VOC format to COCO format. But this might be better than writing a new (almost reduntant) class.
Also, I was updating the code, and we could use a TargetTransformer to convert between different formats.

from vision.

acgtyrant avatar acgtyrant commented on May 27, 2024

@fmassa Is it completed now?

from vision.

acgtyrant avatar acgtyrant commented on May 27, 2024

@szagoruyko How to get the VOC json? I download PASCAL VOC 2007 trainval dataset and only fint their xml. Thank you!

from vision.

fmassa avatar fmassa commented on May 27, 2024

Fixed via #663

from vision.

mrpositron avatar mrpositron commented on May 27, 2024

hey! @fmassa ,
I am using pascal voc 2007 det dataset.
and there is an error occuring when i am using to load them in batches.
i found that error occurs when i am trying to merge dicts of annotations of different size.

do you know how to handle it?
for dataset i am using official implementation (from ver 1.0.1)
and i am using usual dataloader

from vision.

fmassa avatar fmassa commented on May 27, 2024

@mrpositron you need to have a custom collate_fn in the DataLoader that pads the image before merging, so that the images have the same size. Check how it's done in maskrcnn-benchmark: here is the collate_fn, and the padding happens in here.

from vision.

mrpositron avatar mrpositron commented on May 27, 2024

the problem is that all images by default are resized to 224*224, and the problem is that it (dataloader from torch.utils) merges dictionaries from targets in a batch. so i don't know exactly how to avoid that problem. since the images contain different # of objects, and merging fails

from vision.

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.