GithubHelp home page GithubHelp logo

Comments (9)

haviduck avatar haviduck commented on May 26, 2024 1

Hi, check this PR please: #46

absolutely spot on. i -really- dig label studio and this removes the last block for integration for me. thank you thank you thank you. can you provide a base structure for the dataset? obj.data, obj.names, img/imagelist.jpgs + img/txtlist.txts ?

**update on that, you get the notes.json by exporting from your project or you can manually make it by something like this:

{
  "categories": [
    {
      "id": 0,
      "name": "classname1"
    },
    {
      "id": 1,
      "name": "classname2"
    },
    {
      "id": 2,
      "name": "classname3"
    }
  ],
  "info": {
    "year": 2021,
    "version": "1.0",
    "contributor": "Label Studio"
  }
}

Additionally, place your txts in a labels dir and your images in an images dir near notes.json.

@makseq have you had a go at using yolo as a ml backend? just curious.

from label-studio-converter.

haviduck avatar haviduck commented on May 26, 2024 1

@haviduck This is yolo structure.
I've updated codes, please, pull the latest changes.

  1. Now categories are taken from classes.txt (instead of notes.json).
  2. Labeling config for the project will be generated automatically.

YOLO export example:

images
 - 1.jpg
 - 2.jpg
 - ...
labels
 - 1.txt
 - 2.txt

classes.txt

classes.txt example

Airplane
Car

perfect, thank you! im seeing some discrepancies, but i will do more research, before making a claim. thanks for swift and good support.

from label-studio-converter.

haviduck avatar haviduck commented on May 26, 2024 1

issue was with my own shitty pseudolabeling :) works great, thanks a bunch!

from label-studio-converter.

makseq avatar makseq commented on May 26, 2024 1

@haviduck PRs are highly appreciated!

from label-studio-converter.

makseq avatar makseq commented on May 26, 2024

Hi, check this PR please: #46

from label-studio-converter.

makseq avatar makseq commented on May 26, 2024

@smoreface I've added YOLO => LS Json format converter (see #46).
I would like to add this into our docs, what do you think about it? I'd even add this to our blog post about YOLO.

from label-studio-converter.

makseq avatar makseq commented on May 26, 2024

@haviduck This is yolo structure.
I've updated codes, please, pull the latest changes.

  1. Now categories are taken from classes.txt (instead of notes.json).
  2. Labeling config for the project will be generated automatically.

YOLO export example:

images
 - 1.jpg
 - 2.jpg
 - ...
labels
 - 1.txt
 - 2.txt

classes.txt

classes.txt example

Airplane
Car

from label-studio-converter.

makseq avatar makseq commented on May 26, 2024

@haviduck Waiting for your feedback and details :)

from label-studio-converter.

haviduck avatar haviduck commented on May 26, 2024

im not gonna complain about open source stuff, but some quick feedback, adding local storage along with a labelstudio json file isnt super intuitive. i found myself mounting my images then connecting them via the storace connector. the image url had a ?d paramater that my converted json didnt honor. its just a matter of search and replace, but it was a bit unclear until then. i couldnt sync the mount AND upload the json as it would duplicate tasks. id be more than happy to push a pr or help out if needed, just some feedback.

from label-studio-converter.

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.