run.sh 292 字节
Newer Older
Y
Yibing Liu 已提交
1
#!/bin/bash
W
wujionghao 已提交
2
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
Y
Yibing Liu 已提交
3

R
root 已提交
4 5
function run_train ()
{
Y
Yibing Liu 已提交
6
    echo "training"
R
root 已提交
7
    python3 train.py \
Y
Yibing Liu 已提交
8 9
        --data_path data/simple-examples/data/ \
        --model_type small \
10
        --use_gpu True \
11
        #--init_from_pretrain_model models/0/params
Y
Yibing Liu 已提交
12 13
}

H
Hongyu Liu 已提交
14
run_train