labelImg icon indicating copy to clipboard operation
labelImg copied to clipboard

"You have unsaved changes" message keeps popping

Open CodeJjang opened this issue 4 years ago • 9 comments

  • OS: Ubuntu 16.04
  • PyQt version: 5.14.2

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.

CodeJjang avatar May 22 '20 16:05 CodeJjang

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

AnhPC03 avatar Aug 19 '20 09:08 AnhPC03

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 [email protected] 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 avatar Aug 20 '20 06:08 CodeJjang

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

CodeJjang avatar Aug 20 '20 06:08 CodeJjang

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

AnhPC03 avatar Aug 21 '20 08:08 AnhPC03

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

I get the same problem.

ggicNT.png

Do you have any ideas?

lyk7539511 avatar May 16 '21 09:05 lyk7539511

@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?

AnhPC03 avatar May 17 '21 06:05 AnhPC03

@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 avatar May 22 '21 01:05 lyk7539511

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

AnhPC03 avatar May 24 '21 15:05 AnhPC03

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.

mchtey avatar Aug 23 '23 09:08 mchtey