DeepAlignmentNetwork icon indicating copy to clipboard operation
DeepAlignmentNetwork copied to clipboard

cannot run ImageDemo.py

Open ahpu2014 opened this issue 4 years ago • 2 comments

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!

ahpu2014 avatar May 16 '20 06:05 ahpu2014

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

Thanks,

Marek

MarekKowalski avatar May 24 '20 16:05 MarekKowalski

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"

Itajobi avatar Sep 18 '23 21:09 Itajobi