提交 e47f23b9 编写于 作者: S suweiyue

update

上级 2a526a09
python3 train.py --epochs 100 --lr 1e-2 --rc 0 --batch_size 1024 --gpu_id 0 --exp_id 0
\ No newline at end of file
python3 train.py --epochs 100 --lr 1e-2 --rc 0 --batch_size 1024 --exp_id 0
\ No newline at end of file
......@@ -82,7 +82,7 @@ if __name__ == "__main__":
batch_size = args.batch_size
sample_workers = 1
place = fluid.CUDAPlace(0) if args.use_gpu else fluid.CPUPlace()
place = fluid.CUDAPlace(args.gpu_id) if args.use_gpu else fluid.CPUPlace()
train_program = fluid.Program()
startup_program = fluid.Program()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册