MarekKowalski / DeepAlignmentNetwork

A deep neural network for face alignment
MIT License
509 stars 138 forks source link

cannot run ImageDemo.py #59

Open ahpu2014 opened 4 years ago

ahpu2014 commented 4 years ago

Hi, when I run ImageDemo.py ,some mistakes always happen. eg:ValueError: mismatch: parameter has shape (256, 2) but value to set has shape (256, 3136) Thanks for your reply!

MarekKowalski commented 4 years ago

Can you give more context, for example the full text of the exception with trace and line number?

Thanks,

Marek

Itajobi commented 12 months ago

HI, How do I run imageDemo.py without encountering error. The error message is; Traceback (most recent call last): File "C:\Users\xpert\Desktop\Data Analysis\Python Programming\Coding Files\C8Ex8 - ImageDemo.py", line 42, in imageDemo() # Create GUI ^^^^^^^^^^^ File "C:\Users\xpert\Desktop\Data Analysis\Python Programming\Coding Files\C8Ex8 - ImageDemo.py", line 10, in init caImage = PhotoImage(file="image/ca.gif") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Program Files\Python311\Lib\tkinter__init.py", line 4130, in init Image.init__(self, 'photo', name, cnf, master, **kw)

File "C:\Program Files\Python311\Lib\tkinter__init.py", line 4075, in init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: couldn't recognize data in image file "image/ca.gif"