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

Really slow performance of evaluate_single_core #22

Closed
nmddc0211 opened this issue Jan 25, 2022 · 2 comments
Closed

Really slow performance of evaluate_single_core #22

nmddc0211 opened this issue Jan 25, 2022 · 2 comments

Comments

@nmddc0211
Copy link

nmddc0211 commented Jan 25, 2022

Hi, thank you for your work and the wonderful datasets,
I have some problems evaluating (and also training) my model because the evaluation script is really slow. For reference, I also ran the evaluation script of panopticapi and it took about 3 seconds while it took my computer 3 seconds per image to calculate PartPQ. I also notice that panopticapi uses all the cores and PartPQ only uses half of the cores. Is it because of performance issue? I'd be glad if you could tell me whether if this kind of slow performance is expected and maybe I should not evaluate after every epoch.

annotation_parsing in 0.991 seconds
pred_reader_fn in 0.116 seconds
prediction_parsing in 0.896 seconds
generate_ignore_info_tiff in 0.062 seconds
add removed segments to crowd in 0.002 seconds
ignore_img_parsing in 0.021 seconds
pq_part in 1.217 seconds
Processed one image in 3.312 seconds

Regards,
Dang Nguyen

@pmeletis
Copy link
Owner

Dear Dang,
We are working on accelerating evaluation scripts and adding extra functions to the repository. Soon they will be online. For now, I suggest you run the evaluation after every epoch on a subset of images/labels, and on the whole dataset a few times throughout the training.

@nmddc0211
Copy link
Author

Thank you for your suggestion! I'm looking forward for the improvements.

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

2 participants