wengong-jin / icml18-jtnn

Junction Tree Variational Autoencoder for Molecular Graph Generation (ICML 2018)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A problem while I run preprocess.py

zoey1996 opened this issue · comments

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.

I have the same problem...

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'