Skip to content

[Question] ABMIL training tricks #115

@Rainydu184

Description

@Rainydu184

What's your question?

Hi, thanks for your great work on this project!

I have a question regarding the ABMIL implementation in your codebase. I noticed that during training, a fixed number of features (patches) are sampled from each slide, regardless of the total number of available instances.

Since ABMIL relies on attention to identify important instances within a bag, wouldn't using a fixed-size random subset risk missing key patches, especially in slides with a large number of instances? Did you observe that this improves stability or generalization during training?

Would you recommend using dynamic sampling (e.g., variable number of patches) or even using all available instances during validation/testing for better performance evaluation?

Looking forward to your insights. Thanks again for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions