ada-shen / ICNN

A pytorch implementation of interpretable convolutional neural network.
MIT License
63 stars 20 forks source link

Cannot run the demo.py #7

Open jannatTumpa opened 2 years ago

jannatTumpa commented 2 years ago

Is there any other file or dataset needed in the local folder to run the demo.py? while running the demo.py, I keep getting an error saying

if(len(I.shape)==2):
AttributeError: 'NoneType' object has no attribute 'shape'

Looks like it was supposed to read an image which it cannot, thus the shape cannot be determined.

PLease help with some further instructions.

colorfuldarkgray commented 2 years ago

Is there any other file or dataset needed in the local folder to run the demo.py? while running the demo.py, I keep getting an error saying

if(len(I.shape)==2):
AttributeError: 'NoneType' object has no attribute 'shape'

Looks like it was supposed to read an image which it cannot, thus the shape cannot be determined.

PLease help with some further instructions.

Hi

I'm having the same problem. My first diag is that I don't have the files and the integrated download module is not working (I tested a couple of links and neither worked). Are you still interested in making this repo work? Have you found another source?

Right now, I am working in creating myclass_info.txt file for my own data. Next steps is to create get_myDATA.py. I'll look forward to your comments.

PozzaMarco commented 1 year ago

Hi,

for any chance were you able to solve the problem in some way?

colorfuldarkgray commented 1 year ago

Hi

If I remember correctly I solved that problem downloading data. I also remember the source of my data was missing some text files but I found them over github.

My recommendation is to avoid ICNN and try CSGCNN instead, which is an important evolution of the latter

Best regards

El mar, 15 nov 2022 a las 9:31, Marco Pozza @.***>) escribió:

Hi,

for any chance were you able to solve the problem in some way?

— Reply to this email directly, view it on GitHub https://github.com/ada-shen/ICNN/issues/7#issuecomment-1315479258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT2W6O3H2IIAU2N57AHU4TWIOUGLANCNFSM5HHKR4JQ . You are receiving this because you commented.Message ID: @.***>