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

Loss calculation is too slow #18

Closed
yassouali opened this issue Oct 3, 2019 · 2 comments
Closed

Loss calculation is too slow #18

yassouali opened this issue Oct 3, 2019 · 2 comments

Comments

@yassouali
Copy link

Hi,

First of all, thank you very much for providing the implementation of your paper.
I am trying to recreate the results in PyTorch, but I have very slow training time due to the consistency loss computation, which uses pydensecrf, and it takes a lot of time for a moderately sized images (~ 356).
Do you have any recommendations on how to speed things up, and can you please provide the time it took to train the network for in your case.

Thank you very much.

@speedinghzl
Copy link
Owner

Please refer to GPU version dense CRF.
https://github.com/heiwang1997/DenseCRF. Hope it helps.

@yassouali
Copy link
Author

Thank you very much, I see that the code is in C++, so I need to port it to python is that right, anyhow, thank you.

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