haodongli commited on
Commit
31a352c
1 Parent(s): 784e893

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -503,7 +503,7 @@ def args_parser(default_opt=None):
503
 
504
  args = parser.parse_args(sys.argv[1:])
505
 
506
- os.environ["CUDA_VISIBLE_DEVICES"] = args.cuda
507
  if args.opt is not None:
508
  with open(args.opt) as f:
509
  opts = yaml.load(f, Loader=yaml.FullLoader)
 
503
 
504
  args = parser.parse_args(sys.argv[1:])
505
 
506
+ # os.environ["CUDA_VISIBLE_DEVICES"] = args.cuda
507
  if args.opt is not None:
508
  with open(args.opt) as f:
509
  opts = yaml.load(f, Loader=yaml.FullLoader)