Git Product home page Git Product logo

Comments (12)

Cartucho avatar Cartucho commented on September 27, 2024 1

@AbhijitSridhar Hello if the labels are being drawn but are not showing up in the .txt files it means that they were successfully written in the PASCAL VOC format but not in the YOLO one.

I'm sorry to hear that, however, the files are recoverable just send me the PASCAL VOC folder and I will convert them to YOLO format. [email protected]

I will make sure I will find the bug.

from openlabeling.

vuthede avatar vuthede commented on September 27, 2024

It is so weird. My corresponding text files are not empty like yours.
I think It may be a minor bug of the code, which sometimes cause problem in case someone use different version of opencv or environment (Linux, Window.). I use opencv 4.0 and Linux.

from openlabeling.

AbhijitSridhar avatar AbhijitSridhar commented on September 27, 2024

I use opencv3 and Linux. My problem is that some of the text files are being written, while the majority are left blank. I labelled around 500 images yesterday only to find out later that only around 10-20 have the proper data in the text file. All the others are empty

from openlabeling.

vuthede avatar vuthede commented on September 27, 2024

I am curious now, have you checked the text file of the frame right after when you labelled it to ensure it is written?

from openlabeling.

Cartucho avatar Cartucho commented on September 27, 2024

@vuthede I am also curious. In my computer seems to work fine, but probably there is a bug.

from openlabeling.

vuthede avatar vuthede commented on September 27, 2024

yeah @Cartucho , In my computer, it seems work fine too, I think there may some cases that the code did not cover.

from openlabeling.

Cartucho avatar Cartucho commented on September 27, 2024

@AbhijitSridhar could you please tell us in specific which version of python and OpenCV you are using?

Also, were you labeling a video or images?

from openlabeling.

AbhijitSridhar avatar AbhijitSridhar commented on September 27, 2024

Okay so I'm using python 3.6 and opencv 3.3. So I reduced my number of classes from 5 to 2 and now it works with no problem.
Another thing I noticed is when I was trying to label for 5 classes, the only files being written were 0,1,10,100,1000,1001.txt Not sure if this is an indicator of the problem or something else

from openlabeling.

Cartucho avatar Cartucho commented on September 27, 2024

0,1,10,100,1000,1001.txt ohhhhh this explains a lot! I think the problem is with the name of your images.

The images are sorted so 0, 1, 10, 100 is how python will sort your files by the standard. I changed the sorting to what's called natural_sort a more human-like sorting. Please give it a try.

If this is the case you indeed labeled the images, you were just opening the wrong files.

from openlabeling.

Cartucho avatar Cartucho commented on September 27, 2024

@AbhijitSridhar could you please confirm that it is working now?

from openlabeling.

AbhijitSridhar avatar AbhijitSridhar commented on September 27, 2024

It works perfectly for two classes. When I first tried, I had 5-6 classes and faced this issue. I didn't change the file naming convention when trying for two classes

from openlabeling.

Cartucho avatar Cartucho commented on September 27, 2024

Hello @AbhijitSridhar can I close this issue? I think I solved it

from openlabeling.

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.