Comments (4)
@Arshadoid Thanks for the feedback, you can submit a pr to fix the issue.
from labelme2yolo.
@Arshadoid Thanks for the feedback, you can submit a pr to fix the issue.
@GreatV Thank, will do now. This will be my first contribution :)
from labelme2yolo.
this part of the code is not correct I believe:
train_idxs, test_idxs = train_test_split(
range(tmp_train_len), test_size=test_size / (1 - val_size))
I think it should be:
train_idxs, test_idxs = train_test_split(
train_idxs, test_size=test_size / (1 - val_size))
as we want to split already created train indexes further for new train and test. Will test and post the result here.
from labelme2yolo.
@GreatV I just tested and seems like it works correctly now. I commited the updated code to the repo.
- Verified duplicates with a python script:
- Overlap between Train and Val: 0 files
- Overlap between Train and Test: 0 files
- Overlap between Val and Test: 0 files
- Amount of combined split files are now matching the total amount.
from labelme2yolo.
Related Issues (13)
- Polygon Conversion issue for YOLOv8 Semantic Segmentation HOT 3
- Retrain - Classes need keep the old index and not discover HOT 4
- I tested in the example folder of labelme, and the resulting folders were all empty. HOT 1
- Error on convert only one file HOT 1
- Doubt about the result format HOT 2
- Cannot convert to yolov8n segmentation format HOT 2
- Issue converting labelme JSON to YOLODataset HOT 2
- labelme2yolo some error HOT 1
- Double fields HOT 2
- the pip package output a different file name HOT 4
- file name changed HOT 3
- Multiprocessing error on high core count maschines HOT 2
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 labelme2yolo.