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

Problem in LoadDir #31

Open
alfamousts opened this issue Feb 13, 2018 · 3 comments
Open

Problem in LoadDir #31

alfamousts opened this issue Feb 13, 2018 · 3 comments

Comments

@alfamousts
Copy link

when i try to press the load button, in command line shows error like this

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in __call__
    return self.func(*args)
  File "main.py", line 126, in loadDir
    self.category = int(s)
ValueError: invalid literal for int() with base 10: ''

anyone can help me solve this problem ?

@RameshKamath
Copy link

In BBox-Label-Tool/Images there should be "001" folder. Create a new folder with name "002" and put all your images into this folder (for Image Dir box near load button give 2).

Your images should have extension of JPG (for that in Images folders terminal give mogrify -format JPG 002/*.jpg)

@maxiujin
Copy link

maxiujin commented Aug 8, 2018

This does not help what is the answer??

@hemanths933
Copy link

The tool is expecting only an integer as @RameshKamath has mentioned. If any character other than number is entered in Image Dir in the tool, then the exception occurs as below:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in call
return self.func(*args)
File "main.py", line 126, in loadDir
self.category = int(s)
ValueError: invalid literal for int() with base 10: ''

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

4 participants