Global instead of local rank.

This commit is contained in:
SamuelGabriel 2021-06-09 19:11:58 +02:00 committed by GitHub
parent b7a568f065
commit 7c19c35d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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