akshaybetala / UG-RNN

Deep Architectures and Deep Learning in Chemoinformatics: The Prediction of Aqueous Solubility for Drug-Like Molecules
7 stars 7 forks source link

Errors after running training.py #1

Open jskDr opened 8 years ago

jskDr commented 8 years ago

I got errors after I ran the following command. How can I resolve this error? This error comes from the invalid use of lan(). jamessungjinkim$ python training.py Traceback (most recent call last): File "training.py", line 24, in flags.DEFINE_integer('initial_feature_vector_size',utils.num_of_features(),'Size of the individual feature for all the nodes' ) File "/home/jamessungjinkim/Dropbox/Aspuru-Guzik/030 Labs/Py3/github_download/Deep-Learning-in-Chemoinformatics/src/utils.py", line 6, in num_of_features return num_bond_features()+num_atom_features() File "/home/jamessungjinkim/Dropbox/Aspuru-Guzik/030 Labs/Py3/github_download/Deep-Learning-in-Chemoinformatics/src/utils.py", line 62, in num_atom_features return len(atom_features(a)) TypeError: len() of unsized object

akshaybetala commented 8 years ago

Hi Sungjin,

The project is still ongoing and not complete.

Regards Akshay

Akshay Jain Masters in Computer Science University Of California +1 949-501-5552

On Fri, Aug 5, 2016 at 2:28 PM, Sungjin Kim notifications@github.com wrote:

I got errors after I ran the following command. How can I resolve this error? This error comes from the invalid use of lan(). jamessungjinkim$ python training.py Traceback (most recent call last): File "training.py", line 24, in flags.DEFINE_integer('initial_feature_vector_size',utils.num_of_features(),'Size of the individual feature for all the nodes' ) File "/home/jamessungjinkim/Dropbox/Aspuru-Guzik/030 Labs/Py3/github_download/Deep-Learning-in-Chemoinformatics/src/utils.py", line 6, in num_of_features return num_bond_features()+num_atom_features() File "/home/jamessungjinkim/Dropbox/Aspuru-Guzik/030 Labs/Py3/github_download/Deep-Learning-in-Chemoinformatics/src/utils.py", line 62, in num_atom_features return len(atom_features(a)) TypeError: len() of unsized object

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akshaybetala/Deep-Learning-in-Chemoinformatics/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVgr3_1k24NdrJ5H7dMy1Y_YFzedUUhks5qc6sSgaJpZM4JeE1X .