Comments (3)
Hi @dnth Diskson, thank you for reporting the issue. You are right, they should be ints. (I am not sure if this issue has always been there or not, but no one else has mentioned it.)
And per our chat, thank you offering to work on the PR yourself to fix the issue. Here are a few tips to help you:
- There is a spec for the coco schema here https://cocodataset.org/#format-data (I didn't have this when I first started this project.) There may be issues with some of the other fields so if you are able to fix any other similar issues that would be great
- The code that needs to be fixed is in the exporter.py file for example here https://github.com/pylabel-project/pylabel/blob/dev/pylabel/exporter.py#L697 and here https://github.com/pylabel-project/pylabel/blob/dev/pylabel/exporter.py#L706
- That coco exporter code is one of the parts that I didn't write originally so I am not sure why it is written the way it is. As I recall there is some repeated code and you may have to apply the fix in multiple places.
Thanks again! Let me know if you have any questions.
from pylabel.
This should be fixed in release .37 https://github.com/pylabel-project/pylabel/releases/tag/v0.1.37
from pylabel.
Thank you!
from pylabel.
Related Issues (20)
- Crash when converting an image from COCO to YOLO that has no annotation in it HOT 1
- AttributeError: 'DataFrame' object has no attribute 'append' HOT 4
- is CreateML json format supported? HOT 5
- Error when i transform a COCO dataset to a YOLO dataset with segmentation = true and cat_id_index = 0 HOT 3
- It's possible to import YOLO segmentation dataset? HOT 2
- Annotation ids in '/content/test/img/coco128.json' are not unique! HOT 1
- StratifiedGroupShuffleSplit results in Empty DataFrame HOT 3
- yolo class label is unsorted HOT 1
- cat_id_index for yolov5 to coco format HOT 1
- how to edit yolo label with imported txt labels ? HOT 1
- UnboundLocalError: local variable 'categories' referenced before assignment HOT 2
- how to split YOLO datasets to train/val. Not train/val/test HOT 1
- Verbosity or progress bar HOT 5
- AssertionError: Output shape does not match input shape. Data loss has occured. HOT 4
- ShowClassSplits returning empty dataframe for YoloV5
- Class categories not correct after conversion from coco to yolo format. HOT 3
- Add tqdm to setup.py HOT 2
- Update Readme examples HOT 1
- Issue using both segmentation=True and cat_id_index=0 HOT 2
- YOLOv5 class index starts from 1 HOT 4
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 pylabel.