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

annotation import was unsuccessful #326

Closed
AouatifZ opened this issue Jun 14, 2023 · 4 comments
Closed

annotation import was unsuccessful #326

AouatifZ opened this issue Jun 14, 2023 · 4 comments

Comments

@AouatifZ
Copy link

Hello everyone,

I have a problem loading images and annotations in Make Sense,

Error ---> unexpected error occurs during parsing of image annotations file:

here's an example of my annotation

Example---->
2 0.809375 0.577604 0.110156 0.261458
3 0.601337 0.285813 0.080579 0.172176
2 0.679332 0.319559 0.052686 0.112948
0 0.400407 0.629477 0.120868 0.245179
1 0.207225 0.583333 0.133264 0.378788
2 0.081708 0.561983 0.076446 0.088154

any suggestion , what's the problem

thanks in advance

@github-actions
Copy link

👋 Hello @AouatifZ, 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 8.x.x and node.js v16.x.x versions are required. More information about this problem is available in the #16 issue.

@alexHxun
Copy link

alexHxun commented Aug 3, 2023

same problem , can not import .txt file even i import the labels.txt with correct content

@AouatifZ
Copy link
Author

AouatifZ commented Aug 4, 2023

I've found the solution: the labels files must respect the structure requested by MakeSense, i.e. labels.txt must not contain a space at the end of each bounding box in labels.txt, and also the last BB recorded in the file must not make a line break, to avoid any problems with the format and structure requested.

I hope this information helps solve your problem.

@AouatifZ AouatifZ changed the title annoation import was unsuccessful annotation import was unsuccessful Aug 4, 2023
@SkalskiP
Copy link
Owner

SkalskiP commented Aug 4, 2023

Hi, @AouatifZ and @alexHxun 👋🏻! It seems that these changes should be simple to implement. Would you like me to remove these artificial restrictions related to whitespace characters?

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

No branches or pull requests

3 participants