Skip to content
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

A small multi GPU training bug #5

Closed
Aotle opened this issue Mar 26, 2023 · 4 comments
Closed

A small multi GPU training bug #5

Aotle opened this issue Mar 26, 2023 · 4 comments

Comments

@Aotle
Copy link

Aotle commented Mar 26, 2023

It's on lines 98-100 of IRRA/processor/processor.py

if args.distributed: 
     top1 = evaluator.eval(model.module.eval())
else:
     top1 = evaluator.eval(model.eval())
@anosorae
Copy link
Owner

Thank you for pointing out this issue.

@Aotle
Copy link
Author

Aotle commented Mar 27, 2023

lines 108 of IRRA/processor/processor.py

if get_rank() == 0:
    logger.info(f"best R1: {best_top1} at epoch {arguments['epoch']}")

@anosorae
Copy link
Owner

We have only used a single GPU in our experiments and have not verified the validity of the multi-GPU training code, so we cannot guarantee its reliability if you want to train with DDP.

Anyway, you are welcome to keep submitting bugs about multi GPU training and we will fix it as soon as possible.

@anosorae anosorae closed this as completed Apr 4, 2023
@Pefect96
Copy link

lines 108 of IRRA/processor/processor.py

if get_rank() == 0:
    logger.info(f"best R1: {best_top1} at epoch {arguments['epoch']}")

I want to know if the multi GPU training is work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants