isi-nlp / Zoph_RNN

C++/CUDA toolkit for training sequence and sequence-to-sequence models across multiple GPUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while training child model

kamal-kg opened this issue · comments

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 *_

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

running the command with python3 worked for me