make-sense icon indicating copy to clipboard operation
make-sense copied to clipboard

How can achieve this format on exporting to CSV

Open hallowcard13 opened this issue 2 years ago • 9 comments

TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,,

I'm following this tutorial https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/tutorials/model_maker_object_detection.ipynb#scrollTo=xushUyZXqP59

and i want to re train the model with my own dataset. I tried exporting it to csv, But when i run the code to train the model i got an error AttributeError: 'NoneType' object has no attribute 'label_map'

Can you please advise. Thank you

hallowcard13 avatar Sep 14 '21 13:09 hallowcard13

👋 Hello @hallowcard13, thank you for your interest in make-sense - free to use online tool for labelling photos! 🏷️

🐞 Bug reports

If you noticed that make-sense is not working properly, please provide us with as much information as possible. To make your life easier, we have prepared a bug report template containing all the relevant details. We know, we ask for a lot... However, please believe that knowing all that extra information - like the type of browser you use or the version of node you have installed - really helps us to solve your problems faster and more efficiently. 😉

💬 Get in touch

If you've been trying to contact us but for some reason we haven't responded to your issue yet, don't hesitate to get back to us on Gitter or Twitter.

💻 Local setup

# clone repository
git clone https://github.com/SkalskiP/make-sense.git

# navigate to main dir
cd make-sense

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm start

To ensure proper functionality of the application locally, an npm 6.x.x and node.js v12.x.x versions are required. More information about this problem is available in the #16 issue.

github-actions[bot] avatar Sep 14 '21 13:09 github-actions[bot]

Hello @hallowcard13 👋. Is this a problem with make-sense?

SkalskiP avatar Sep 16 '21 18:09 SkalskiP

Hello @hallowcard13 👋. Is this a problem with make-sense?

No it's not from make-sense app. I was trying to ask if there is a chance we can do the same csv format on that tutorial provided by google

hallowcard13 avatar Sep 17 '21 00:09 hallowcard13

@hallowcard13 could that format be AutoML format? If so tan we already have issue about that https://github.com/SkalskiP/make-sense/issues/80

SkalskiP avatar Sep 17 '21 05:09 SkalskiP

@hallowcard13 could that format be AutoML format? If so tan we already have issue about that #80

yes it is, Saw and read about the issue. I can help you, i know javascript and react but 0 on typescript hehe. If you could point me into which class or file is responsible for creating the csv and vertices that would speed up the process and for me to learn about typescript. Looking forward thank you

hallowcard13 avatar Sep 17 '21 11:09 hallowcard13

Great! Happy to see you would like to give me a helping hand 🙋 ! The file that you are looking for is make-sense/src/logic/export/RectLabelsExporter.ts. The method that parses rectangle labels to CSV is RectLabelsExporter.exportAsCSV. It would be also great if you could update our docs and provide some info on that file format. Simple update of that make-sense/docs/export.md file will be enough.

SkalskiP avatar Sep 17 '21 15:09 SkalskiP

Great! Happy to see you would like to give me a helping hand 🙋 ! The file that you are looking for is make-sense/src/logic/export/RectLabelsExporter.ts. The method that parses rectangle labels to CSV is RectLabelsExporter.exportAsCSV. It would be also great if you could update our docs and provide some info on that file format. Simple update of that make-sense/docs/export.md file will be enough.

Thank you for the information i will find sometime this weekend to start working on it. I'll keep you posted on PR

hallowcard13 avatar Sep 21 '21 02:09 hallowcard13

@hallowcard13 this is great! I'm so happy to hear that ;)

SkalskiP avatar Sep 21 '21 06:09 SkalskiP

Just dropping into figure out if we did manage to get the CSV to export for a float between 0 and 1 as used in ML Vision CSV data import?

Anybody got a work around adapting the pixel coordinates to ML formats between 0 and 1?

wwfish avatar Dec 20 '21 11:12 wwfish