Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsheepbin authored May 30, 2022
1 parent 222bda1 commit 7ed6133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b7ns_stage1/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from torch_ema import ExponentialMovingAverage

#os.environ['CUDA_VISIBLE_DEVICE'] = '1'
os.environ["CUDA_VISIBLE_DEVICES"] = "1"
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

def copy_parameters_to_model(copy_of_model_parameters, model):
for s_param, param in zip(copy_of_model_parameters, model.parameters()):
Expand Down

0 comments on commit 7ed6133

Please sign in to comment.