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

function run_train() {
    echo "training"
    python train.py \
        --data_path data/simple-examples/data/ \
        --model_type small \
9
        --use_gpu True
10
        #--init_from_pretrain_model models/0/params
Y
Yibing Liu 已提交
11 12
}

H
Hongyu Liu 已提交
13
run_train