Dear sir,
I want do the experiment on colab follow your readme.md procedures, but I have encounter some weried problems.
I first run the following commands:
! pip install virtualenv
! virtualenv --python=python3 venv
! source venv/bin/activate
! pip install torch==1.6.0
! git clone https://github.com/kayoyin/transformer-slt.git
! pip install -r requirements.txt
! python setup.py install
that's fun.
but after I copy your onmt-preprocess command which is
Dear sir, I want do the experiment on colab follow your readme.md procedures, but I have encounter some weried problems. I first run the following commands: ! pip install virtualenv ! virtualenv --python=python3 venv ! source venv/bin/activate ! pip install torch==1.6.0 ! git clone https://github.com/kayoyin/transformer-slt.git ! pip install -r requirements.txt ! python setup.py install
that's fun. but after I copy your onmt-preprocess command which is
onmt_preprocess -train_src data/phoenix2014T.train.gloss -train_tgt data/phoenix2014T.train.de -valid_src data/phoenix2014T.dev.gloss -valid_tgt data/phoenix2014T.dev.de -save_data data/dgs -lower
It returns the error:
File "" , line 1
onmt_preprocess -train_src data/phoenix2014T.train.gloss -train_tgt data/phoenix2014T.train.de -valid_src data/phoenix2014T.dev.gloss -valid_tgt data/phoenix2014T.dev.de -save_data data/dgs -lower
^
SyntaxError: invalid syntax
I really don't know why it happens, could you help me ?