Comments (12)
@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.
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.
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.
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.
@vuthede I am also curious. In my computer seems to work fine, but probably there is a bug.
from openlabeling.
yeah @Cartucho , In my computer, it seems work fine too, I think there may some cases that the code did not cover.
from openlabeling.
@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.
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.
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.
@AbhijitSridhar could you please confirm that it is working now?
from openlabeling.
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.
Hello @AbhijitSridhar can I close this issue? I think I solved it
from openlabeling.
Related Issues (20)
- To Save What is detected HOT 4
- Error on main.py HOT 1
- Issues installing project after DaSiamRPN Update HOT 1
- Draw bounding boxes based on the Darknet YOLO format HOT 5
- Possible feature: button to remove frame from data set HOT 2
- save button freezes program
- load bouding boxes from previous images. HOT 5
- Camvid dataset format?
- DaSiamRPN files not found. HOT 2
- Ability to disable second click functionality for drawing boxes
- Load Labels from external files HOT 4
- ImportError: cannot import name 'get_subwindow_tracking' from 'utils'
- Output dir issue HOT 7
- How to label a video? HOT 1
- Tensorflow Version HOT 3
- [Windows] Double display on command prompt - Possible solution
- question regarding the output file HOT 2
- Can you add different Group id for the some obejct on different frames?
- Permission denied (publickey). HOT 1
- Is there the possibility to take a line and not a bounding box? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openlabeling.