-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Support DDP Evaluation for IS and FID #151
Conversation
|
||
def parse_args(): | ||
parser = argparse.ArgumentParser(description='Evaluate a GAN model') | ||
parser = argparse.ArgumentParser(description='Evaluate a Generation model') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may also need to change the related docs to inform this feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick_run.md
is updated.
rank, _ = get_dist_info() | ||
rank, world_size = get_dist_info() | ||
cfg.gpu_ids = range(world_size) | ||
assert args.online or world_size == 1, ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why offline mode cannot be supported in DDP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Offline mode now supports DDP!
* support dist eval for IS and FID * support offline mode with DDP * update readme and script for slurm * fix bug in log print * fix bug in image saving * fix bug of log display in offline evaluation
slurm_eval.sh
quick_run.md