Giter VIP home page Giter VIP logo

Comments (4)

GreatV avatar GreatV commented on July 22, 2024 1

@Arshadoid Thanks for the feedback, you can submit a pr to fix the issue.

from labelme2yolo.

Arshadoid avatar Arshadoid commented on July 22, 2024 1

@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.

Arshadoid avatar Arshadoid commented on July 22, 2024

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.

Arshadoid avatar Arshadoid commented on July 22, 2024

@GreatV I just tested and seems like it works correctly now. I commited the updated code to the repo.

  1. 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
  1. Amount of combined split files are now matching the total amount.

from labelme2yolo.

Related Issues (13)

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.