|
|
@ -63,7 +63,6 @@ bash run.sh --stage 0 --stop_stage 0
|
|
|
|
You can also just run these scripts in your command line.
|
|
|
|
You can also just run these scripts in your command line.
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
. ./path.sh
|
|
|
|
. ./path.sh
|
|
|
|
. ./cmd.sh
|
|
|
|
|
|
|
|
bash ./local/data.sh
|
|
|
|
bash ./local/data.sh
|
|
|
|
```
|
|
|
|
```
|
|
|
|
After processing the data, the ``data`` directory will look like this:
|
|
|
|
After processing the data, the ``data`` directory will look like this:
|
|
|
@ -99,7 +98,6 @@ bash run.sh --stage 0 --stop_stage 1
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
. ./path.sh
|
|
|
|
. ./path.sh
|
|
|
|
. ./cmd.sh
|
|
|
|
|
|
|
|
bash ./local/data.sh
|
|
|
|
bash ./local/data.sh
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
```## Stage 2: Top-k Models Averaging
|
|
|
|
```## Stage 2: Top-k Models Averaging
|
|
|
@ -118,7 +116,6 @@ bash run.sh --stage 0 --stop_stage 2
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
. ./path.sh
|
|
|
|
. ./path.sh
|
|
|
|
. ./cmd.sh
|
|
|
|
|
|
|
|
bash ./local/data.sh
|
|
|
|
bash ./local/data.sh
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
@ -138,7 +135,6 @@ bash run.sh --stage 0 --stop_stage 3
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
or you can run these scripts in the command line (only use CPU).
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
. ./path.sh
|
|
|
|
. ./path.sh
|
|
|
|
. ./cmd.sh
|
|
|
|
|
|
|
|
bash ./local/data.sh
|
|
|
|
bash ./local/data.sh
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
@ -165,7 +161,6 @@ bash run.sh --stage 4 --stop_stage 4
|
|
|
|
or you can also use these scripts in the command line (only use CPU).
|
|
|
|
or you can also use these scripts in the command line (only use CPU).
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
. ./path.sh
|
|
|
|
. ./path.sh
|
|
|
|
. ./cmd.sh
|
|
|
|
|
|
|
|
bash ./local/data.sh
|
|
|
|
bash ./local/data.sh
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
CUDA_VISIBLE_DEVICES= ./local/train.sh conf/transformer.yaml transformer
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
|
avg.sh best exp/transformer/checkpoints 1
|
|
|
|