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

How long to train and evaluate on SBD? #3

Closed
LetsGoFir opened this issue Mar 4, 2020 · 6 comments
Closed

How long to train and evaluate on SBD? #3

LetsGoFir opened this issue Mar 4, 2020 · 6 comments

Comments

@LetsGoFir
Copy link

It takes me 10 hours to do the evaluation on SBD, is it normal?

@ptrvilya
Copy link
Contributor

ptrvilya commented Mar 4, 2020

It depends on the model that you are using and your hardware, but overall this time seems to be too large. ResNet34 on one 1080ti takes about 10 minutes for one training epoch and 1 minute for one validation epoch.

@ptrvilya ptrvilya closed this as completed Mar 4, 2020
@LetsGoFir
Copy link
Author

It depends on the model that you are using and your hardware, but overall this time seems to be too large. ResNet34 on one 1080ti takes about 10 minutes for one training epoch and 1 minute for one validation epoch.

I use the 'resnet50_dh128_sbd' and my gpu is rtx2080, so the time is not normal, right?
The SBD has 6671 items to do the inference, and each one takes about 10s.

@ptrvilya
Copy link
Contributor

ptrvilya commented Mar 4, 2020

Yes, this time is not normal. The normal time for ResNet50 on SBD is about 15 minutes per training epoch on one 1080ti with batch-size=12

@LetsGoFir
Copy link
Author

I download the SBD from
http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/semantic_contours/benchmark.tgz
and type this command
python3 scripts/evaluate_model.py RGB-BRS --checkpoint=resnet50_dh128_sbd --datasets=SBD
I think the number 6671 is right for SBD evaluation, let me check it.

@ptrvilya
Copy link
Contributor

ptrvilya commented Mar 4, 2020

I thought you were talking about training and evaluation during training. Evaluating the NoC metric for RGB-BRS takes a long time because every image is processed sequentially click by click. So your timing seems normal :)

@XavierCHEN34
Copy link

hello, I enquire how long would it take to train on COCO + LVIS on 4 GPUs? The training setting is the same as that of SBD?

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