Douzero_Resnet/train.py

9 lines
185 B
Python
Raw Permalink Normal View History

2021-09-07 16:38:34 +08:00
import os
from douzero.dmc import parser, train
if __name__ == '__main__':
flags = parser.parse_args()
os.environ["CUDA_VISIBLE_DEVICES"] = flags.gpu_devices
train(flags)