-
Notifications
You must be signed in to change notification settings - Fork 32
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 did you produce the heatmap #2
Comments
Hi, you can get model output ak for each patch in the bag by using the following function: |
Thanks a lot for the quick reply, i will se if i can make that work :-) |
Hi Utayao Worked great thanks, i get the weights for each patch. I get that i can multiply this value with the image patch, and use the cordinates in the filename to combine the paches into a final result, but befor i try it out i just want to ask if you would consider sharing this part of the code as well ? Best Regards |
Hi, I'm unable to get these results. I get only black patches when I multiply ak_output with the image patch. Any suggestions? |
Hi Utayao
Great work making this work with Keras, i got the code running with the Colin dataset, and it outputs a mean accuracy of 0.92 :-)
My question is how you produced the heatmap, i dont see any code for this, here or in the original tensorflow implementation https://github.com/AMLab-Amsterdam/AttentionDeepMIL
The text was updated successfully, but these errors were encountered: