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

Inquiry about S1 and S2 parameter issues #4

Open
Ge-YL opened this issue Jul 17, 2024 · 1 comment
Open

Inquiry about S1 and S2 parameter issues #4

Ge-YL opened this issue Jul 17, 2024 · 1 comment

Comments

@Ge-YL
Copy link

Ge-YL commented Jul 17, 2024

`

Stage 1: WSI features and Genomic features fusion

    for stage1_layer in self.stage1_layers: # 1
        stage1_output, omic_wsi_mgca = stage1_layer(wsi_feats_embed, omic_feats_embed, attn_mask=None)

Stage 2: stage1 fusion embedding and WSI feature fusion again

    for stage2_layer in self.stage2_layers: # 2
        stage2_output, wsi_omic_mgca = stage2_layer(stage1_output.unsqueeze(0).unsqueeze(0), wsi_feats_embed, attn_mask=None)

`
According to your framework, the second for loop has two layers, S2=2. But from the code perspective, it seems that we can only use the result of the second iteration, so what is the significance of doing the first loop of S2?

@Ge-YL
Copy link
Author

Ge-YL commented Jul 17, 2024

@lmxmercy

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

1 participant