transformer-slt icon indicating copy to clipboard operation
transformer-slt copied to clipboard

SyntaxError: invalid syntax

Open kokolerk opened this issue 2 years ago • 1 comments

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 ?

kokolerk avatar May 04 '22 08:05 kokolerk

sorry for bother you, I have solve the problem , thank you.

kokolerk avatar May 04 '22 09:05 kokolerk