kayoyin / transformer-slt

Sign Language Translation with Transformers (COLING'2020, ECCV'20 SLRTP Workshop)
Apache License 2.0
147 stars 39 forks source link

SyntaxError: invalid syntax #12

Closed kokolerk closed 2 years ago

kokolerk commented 2 years ago

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 commented 2 years ago

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