Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can achieve this format on exporting to CSV #201

Open
hallowcard13 opened this issue Sep 14, 2021 · 9 comments
Open

How can achieve this format on exporting to CSV #201

hallowcard13 opened this issue Sep 14, 2021 · 9 comments
Assignees
Labels
question Further information is requested

Comments

@hallowcard13
Copy link

hallowcard13 commented Sep 14, 2021

TRAIN,gs:https://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

@github-actions
Copy link

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

@SkalskiP
Copy link
Owner

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

@SkalskiP SkalskiP added needs-review The problem described requires deeper analysis. question Further information is requested and removed needs-review The problem described requires deeper analysis. labels Sep 16, 2021
@SkalskiP SkalskiP self-assigned this Sep 16, 2021
@hallowcard13
Copy link
Author

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

@SkalskiP
Copy link
Owner

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

@hallowcard13
Copy link
Author

@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

@SkalskiP
Copy link
Owner

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.

@hallowcard13
Copy link
Author

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

@SkalskiP
Copy link
Owner

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

@wwfish
Copy link

wwfish commented Dec 20, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants