prabindh / euclid

Euclid object labeller for frictionless object detection training purposes in Machine learning frameworks (KITTI, YOLO)
45 stars 20 forks source link

Command Execution Problem #8

Closed suji104 closed 7 years ago

suji104 commented 7 years ago

When you run $python euclid.py

, you will see the following results:

Traceback (most recent call last): File "euclid.py", line 55, in from PIL import Image, ImageTk ImportError: cannot import name ImageTk

What value should I put in ImageTK?   Or is the command wrong? Thank you very much for your reply.

prabindh commented 7 years ago

What version of Py is being used ?

suji104 commented 7 years ago

Thank you for answer. Python2.7.12 / Python3.5.2 is in use.

prabindh commented 7 years ago

Have you checked this ? http://stackoverflow.com/questions/22788454/importerror-no-module-named-imagingtk/22788542#22788542

suji104 commented 7 years ago

image

Did you run this window? Thank you so much! Do you have a tutorial on PASCAL to KITTY format?

suji104 commented 7 years ago

I'm really sorry to keep asking.

*Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1540, in call return self.func(args) File "euclid.py", line 165, in loadDir self.loadImageAndLabels() File "euclid.py", line 325, in loadImageAndLabels self.img = Image.open(imagepath) AttributeError: class Image has no attribute 'open'**

When I select an image folder through Select Dir, I get the following error. Do you have a solution?

prabindh commented 7 years ago

Please pull the latest commit. Looks like an alternative Image module was getting loaded. Thanks !

suji104 commented 7 years ago

image

It works properly! Thank you very much. It has helped a lot. Have a nice day! :D