train_tsm.sh 347 字节
Newer Older
D
dengkaipeng 已提交
1
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
D
dengkaipeng 已提交
2 3 4 5 6 7

# activate eager gc to reduce memory use
export FLAGS_fast_eager_deletion_mode=1
export FLAGS_eager_delete_tensor_gb=0.0
export FLAGS_fraction_of_gpu_memory_to_use=0.98

D
dengkaipeng 已提交
8 9
python train.py --model_name="TSM" --config=./configs/tsm.txt --epoch_num=65 \
                --valid_interval=1 --log_interval=10