训练时在命令前加上 CUDA_VISIBLE_DEVICES=0,1,2 进行选择,如:选择5号显卡训练, 命令行为:
CUDA_VISIBLE_DEVICES=5 python train.py --net_type pyramidnet --dataset imagenet --batch_size 256 --lr 0.25 --expname PyraNet200 --epochs 10 --beta 1.0 --cutmix_prob 1.0 --no-verbose
训练时在命令前加上 CUDA_VISIBLE_DEVICES=0,1,2 进行选择,如:选择5号显卡训练, 命令行为:
CUDA_VISIBLE_DEVICES=5 python train.py --net_type pyramidnet --dataset imagenet --batch_size 256 --lr 0.25 --expname PyraNet200 --epochs 10 --beta 1.0 --cutmix_prob 1.0 --no-verbose