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 to get attention scores? #38

Open
chenkp98 opened this issue Nov 19, 2024 · 1 comment
Open

How to get attention scores? #38

chenkp98 opened this issue Nov 19, 2024 · 1 comment

Comments

@chenkp98
Copy link

I have a complete image of breast cancer and I would like to use CHIEF to get an attention score for the image, but I don't know how to do that.
The second question is the extracted features are [1, 768] how is this going to be used?

@Dadatata-JZ
Copy link
Collaborator

Hi @chenkp98

Re Q1:
(1) tile your whole-slide image to small patches
(2) feed them into the feature encoder and go through forward propagation
(3) get the attention vector (the variable is called A)

https://github.com/AMLab-Amsterdam/AttentionDeepMIL
Check this if you haven't.

Re Q2:
It is a feature embedding. You can use it for any types of representation learning or analyses.

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