HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.77k stars 6.31k forks source link

"You have unsaved changes" message keeps popping #595

Open CodeJjang opened 4 years ago

CodeJjang commented 4 years ago

I just started using the tool.
I get an annoying You have unsaved changes, proceed anyway? message whenever I browse pictures.
I just loaded the images directory, loaded the annotations directory using Change Save Dir, the BBs are shown fine, but once in several pictures while I browse I get the above message.
Needless to say I haven't touched anything.

What am I doing wrong here?

Edit:
Investigating further, I compared the XMLs before I load them and after I load and save them (even though I perform no change in the program itself).
I find that the database tag is swithced to Unknown, several bounding boxes are changed by 1 pixel, and some objects truncated tag is being turned on to 1 from 0, even though I did NOT touch anything in the GUI, just loaded the images.

AnhPC03 commented 4 years ago

@CodeJjang you can auto save your annotation by clicking in "auto save mode" in the view in the top bar

CodeJjang commented 4 years ago

The thing is I don't ant to auto save it, I haven't touched anything and it keeps popping up.

On Wed, Aug 19, 2020 at 12:14 PM AnhPC03 notifications@github.com wrote:

@CodeJjang https://github.com/CodeJjang you can auto save your annotation by clicking in "auto save mode" in the view in the top bar

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tzutalin/labelImg/issues/595#issuecomment-676005175, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCJOD7NUEB7XKMDQQQZZM3SBOJYBANCNFSM4NH7O6LA .

CodeJjang commented 4 years ago

@AnhPC03 The thing is I don't want to auto save it, I haven't touched anything and it keeps popping up.

AnhPC03 commented 4 years ago

@CodeJjang can you show me terminal screen when you labeled?

lyk7539511 commented 3 years ago

@CodeJjang can you show me terminal screen when you labeled?

I get the same problem.

ggicNT.png

Do you have any ideas?

AnhPC03 commented 3 years ago

@CodeJjang can you show me terminal screen when you labeled?

I get the same problem.

ggicNT.png

Do you have any ideas?

@lyk7539511 Do you annotate that image with special label? What was your label?

lyk7539511 commented 3 years ago

@CodeJjang can you show me terminal screen when you labeled?

I get the same problem. ggicNT.png Do you have any ideas?

@lyk7539511 Do you annotate that image with special label? What was your label?

I am using Chinese as a label.

AnhPC03 commented 3 years ago

@CodeJjang can you show me terminal screen when you labeled?

I get the same problem. ggicNT.png Do you have any ideas?

@lyk7539511 Do you annotate that image with special label? What was your label?

I am using Chinese as a label.

@lyk7539511 You can not use special characters as label in this tool. I think your label had some special characters. Check it again.

mchtey commented 1 year ago

The solution for new users like me who get this error: "open dir" and "change save dir" folder names should use English letters. This will solve the problem.