-
Notifications
You must be signed in to change notification settings - Fork 21
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
inference code #1
Comments
Thanks for your helpful reply. With your help, I was able to reproduce your results on a retinal blood vessel segmentation problem based on the DRIVE dataset. You can check out the notebook here: https://gitlab.com/wdeback/dl-keras-tutorial/blob/master/notebooks/3-cnn-segment-retina-uncertainty.ipynb. I can send some results, if you're interested. One minor thing: there is no need anymore to define test-time Dropout as a custom layer as you do here, since it is built-in in keras: keras-team/keras#9412 (comment). Thanks for sharing! |
Sure, I'd love to see it! Could I get via email? my email address is 'ykwon0407[at]snu[dot]ac[dot]kr'. |
Dear Yongchan, |
Dear redsadaf, Thank you for your interests! The eq.4 in the paper is defined for multi-label segmentation. So you can apply the equation for not only binary segmentation but multi-class segmentation problems. Please note that if the eq.4 will provide a K by K matrix if there are K categories in your dataset. |
@ykwon0407 Could you elaborate how the formulas: |
@mongoose54 |
In the case of multi-class segmentation, how would you interpret the diagonal / off diagonal elements of the matrix in Eq. 4? Is it just like co-variance between the different class predictions? |
@tamkaho Yes, it is. Thank you for your interest! |
Dear Yongchan,
I've been reading your paper and code with great interest. Seems like a very interesting way to assess predictive uncertainty in DNN models for segmentation, based purely on inference-time Dropout. However, I can't seem to find the code in which you do inference and actually compute the aleatoric and epistemic uncertainties.
Specifically, the implementation of the key eq. 4 in the paper seems to be missing. Could you provide this or point me to it?
Thanks for this interesting work!
The text was updated successfully, but these errors were encountered: