wengong-jin / icml18-jtnn

Junction Tree Variational Autoencoder for Molecular Graph Generation (ICML 2018)
MIT License
509 stars 190 forks source link

A problem while I run preprocess.py #52

Open zoey1996 opened 4 years ago

zoey1996 commented 4 years ago

when I run preprocess.py, I meet a problem. Traceback (most recent call last): File "preprocess.py", line 9, in from fast_jtnn import * File "/home/zhai/cxh/icml18-jtnn/fast_jtnn/init.py", line 1, in from mol_tree import Vocab, MolTree ModuleNotFoundError: No module named 'mol_tree' But I add export PYTHONPATH=$PREFIX/icml18-jtnn to my environment variables.

ShuoTian172 commented 4 years ago

I have the same problem...

sbanwaskar commented 3 years ago

I have a problem with preprocess.py raceback (most recent call last): File "preprocess.py", line 10, in from fast_jtnn import * File "/home/shreya/Desktop/jtnn/icml18-jtnn-master/fast_molvae/fast_jtnn/init.py", line 2, in from jtnn_vae import JTNNVAE File "/home/shreya/Desktop/jtnn/icml18-jtnn-master/fast_molvae/jtnn_vae.py", line 5, in from nnutils import create_var, flatten_tensor, avg_pool ImportError: cannot import name 'flatten_tensor' from 'nnutils'