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

How do we use scripts under the train folder #8

Open
liperrino opened this issue Feb 7, 2019 · 1 comment
Open

How do we use scripts under the train folder #8

liperrino opened this issue Feb 7, 2019 · 1 comment

Comments

@liperrino
Copy link

Hi. Please i would like to know how to train train these models. When i ran train_en_de.sh, i get errors:

Traceback (most recent call last):
File "/media/vivien/A/NEW-SMT/seq2seq.pytorch-master/main.py", line 15, in
from seq2seq.tools.utils.log import setup_logging
ModuleNotFoundError: No module named 'seq2seq.tools.utils.log'
Traceback (most recent call last):
File "/media/vivien/A/NEW-SMT/seq2seq.pytorch-master/main.py", line 15, in
from seq2seq.tools.utils.log import setup_logging
ModuleNotFoundError: No module named 'seq2seq.tools.utils.log'
Traceback (most recent call last):
File "/media/vivien/A/NEW-SMT/seq2seq.pytorch-master/main.py", line 15, in
from seq2seq.tools.utils.log import setup_logging
ModuleNotFoundError: No module named 'seq2seq.tools.utils.log'
Traceback (most recent call last):
File "/media/vivien/A/NEW-SMT/seq2seq.pytorch-master/main.py", line 15, in
from seq2seq.tools.utils.log import setup_logging
ModuleNotFoundError: No module named 'seq2seq.tools.utils.log'

@guyco87
Copy link

guyco87 commented Feb 8, 2019

You should run the setup script before running anything else

python setup.py develop

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

2 participants