Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importError: cannot import name 'flatten_tensor' from 'nnutils' #60

Open
sbanwaskar opened this issue Apr 5, 2021 · 0 comments
Open

Comments

@sbanwaskar
Copy link

While running preprocess.py -
python3 preprocess.py --train ../data/moses/train.txt --split 100 --jobs 16
Traceback (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'

Can anyone help with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant