slideflow icon indicating copy to clipboard operation
slideflow copied to clipboard

MIL with Stain Augmentation

Open sanosano opened this issue 1 year ago • 2 comments

@jamesdolezal Thank you for your excellent and useful project.

I have a question regarding the application of stain augmentation.

In my understanding, the code mentioned in the document at https://slideflow.dev/norm/#stain-augmentation is used during the training of a tile-based model.

Is it possible to apply Stain Augmentation when training a multiple-instance learning model, as in the tutorial at https://slideflow.dev/tutorial8/# ? The tutorial completes the creation of the feature bag before calling the train_mil function, but I think it is necessary to generate a feature bag with Stain Augmentation applied at each training iteration. Does Slideflow support such a pipeline?

sanosano avatar Apr 27 '24 16:04 sanosano

Great question - at present, no. But this is definitely something we can add. I'll add it to the feature list for version 2.5!

jamesdolezal avatar Jul 24 '24 19:07 jamesdolezal

Thank you. I'm looking forward to using the great feature.

sanosano avatar Aug 07 '24 22:08 sanosano