topazape / LSTM_Chem

Implementation of the paper - Generative Recurrent Networks for De Novo Drug Design.
The Unlicense
116 stars 55 forks source link

AttributeError: 'NoneType' object has no attribute 'shape' #13

Closed ErikZhang-9762 closed 2 years ago

ErikZhang-9762 commented 3 years ago

Hi,topazape Thank you for developing such an excellent code. I have some questions and I hope I can get your help. When I run the command: Python train.py ,Attributeerror occurred, I noticed that gwanseum had the same problem,borrow his pictures here. image I didn't see your discussion with gwanseum,

I hope I can get your help! Thanks in advance for your help,

Sincerely

ErikZhang-9762 commented 3 years ago

I used TF nightly GPU 2.5 instead of tensorflow 2.1 Is it possible to modify part of the code so that it can run.

topazape commented 3 years ago

I'm trying to reproduce this error. pls wait.

pramodkp commented 2 years ago

Hi,topazape

I am also getting the same error as Erik Zhang. I am curious to know if it is solved. Resuesting you to help in solving the error.

topazape commented 2 years ago

Hi, pramodkp

Okay, I'll try to check this. pls wait for a week.

topazape commented 2 years ago

Hi, @ErikZhang-9762 @pramodkp

Thank you for your patience. I have fixed the corresponding error and confirmed that it works. The reason is that the return value of the data loader was invalid. If you check it out, please let me know if you want to.

Thanks,

pramodkp commented 2 years ago

Thank you so much topazape for your quick help. Now its works.

Thanks