BBox-Label-Tool icon indicating copy to clipboard operation
BBox-Label-Tool copied to clipboard

Fail to load images from dir

Open Trotts opened this issue 7 years ago • 3 comments

I'm trying to load images from a directory into the LabelTool, but everytime I try I get "No .jpeg images found in the specified dir!". Even running with the test images provided in the download does not work. The script seems to be looking in the right location:

screen shot 2018-06-26 at 16 28 31

Code modified to show above screenshot is at https://pastebin.com/Y1BFWww2

My 001 folder is as follows:

screen shot 2018-06-26 at 16 32 52

I am using a fork to work with high res images from @toobaimt found at https://github.com/puzzledqs/BBox-Label-Tool/issues/25

Any help would be appreciated.

Trotts avatar Jun 26 '18 15:06 Trotts

Activate Python2.7 and then run that command. They mention that it requires Python 2 environment. Hope it helps.

vivek6449 avatar Jul 12 '18 16:07 vivek6449

Hey! I am working on python 2.7 conda environment and I am having the same problem. If the folder inside the images folder is named 001, then even when i press the load button nothing happens. I dont even get any kind of error message. If I rename the folder to some other number say '1', then I get an error message saying 'no .JPEG images found in the specified dir!'. What am i doing wrong?

techSash avatar Oct 25 '18 04:10 techSash

@techSash This is a bit late but I was having this error too and the problem seems to be that every folder needs a corresponding examples folder. If you don't have examples then you can always copy the examples to match your folder name.

judyfong avatar Mar 06 '20 15:03 judyfong