Global instead of local rank.

pull/693/head
SamuelGabriel 4 years ago committed by GitHub
parent b7a568f065
commit 7c19c35d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -561,7 +561,7 @@ def main():
best_epoch = None best_epoch = None
saver = None saver = None
output_dir = None output_dir = None
if args.local_rank == 0: if args.rank == 0:
if args.experiment: if args.experiment:
exp_name = args.experiment exp_name = args.experiment
else: else:

Loading…
Cancel
Save