mahmoodlab/Patch-GCN

I want to run MI-FCN. However, I don't know how to get the 'fast_cluster_ids.pkl' file?

Closed this issue · 3 comments

I want to run MI-FCN. However, I don't know how to get the 'fast_cluster_ids.pkl' file?

Originally posted by @genhao3 in #17 (comment)

Hi @genhao3 - the fast_cluster_ids.pkl is a dictionary that I load for each cancer type, which maps case_id to [M x 1]-dim array of cluster assignments ${1 \cdots C}$, where $M$ is the number of patches and the indices correspond to the cluster assignment of a given patch embedding. You can use packages like faiss to generate these cluster assignments for running MI-FCN / DeepAttnMISL comparisons.

can you give an fast_cluster_ids.pkl as a example?

can you give an fast_cluster_ids.pkl as a example?