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

Error while training child model #14

Open
kamal-kg opened this issue Aug 10, 2018 · 2 comments
Open

Error while training child model #14

kamal-kg opened this issue Aug 10, 2018 · 2 comments

Comments

@kamal-kg
Copy link

kamal-kg commented Aug 10, 2018

Python version : 2.7
Cuda : 8.0

python scripts/pretrain.py --parent parent_model.nn --trainsource health_mix.hi --traintarget health_mix.en --devsource dev_new.hi --devtarget dev_new.en --rnnbinary ZOPH_RNN --child child.nn

File "scripts/pretrain.py", line 153
(nlayer, nhidden, ntarget, nsource, *_) = map(int, line.strip().split())

SyntaxError: invalid syntax

Error at *_

@Binteislam
Copy link

I am facing same error, any suggestions????

@Binteislam
Copy link

running the command with python3 worked for me

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