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

Customized optimizer #262

Open
cswpy opened this issue Apr 26, 2023 · 1 comment
Open

Customized optimizer #262

cswpy opened this issue Apr 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@cswpy
Copy link

cswpy commented Apr 26, 2023

Feature

Support for customized optimizers during training allows for greater flexibility in training models. Some frameworks in WSI tasks consist of multiple networks. Right now, we can only build a model with a single network.

Pitch

There are some models that require customized optimizers, typically models that are consisted of several modules. For example, WENO is consisted of a student network and a teacher network. Right now, I cannot implement WENO using SlideFlow.

Alternatives

I don't think the current version has support for such knowledge distillation network.

Additional context

@cswpy cswpy added the enhancement New feature or request label Apr 26, 2023
@jamesdolezal
Copy link
Owner

Thanks for this suggestion. At present, Slideflow could be used for image processing and preparation of feature bags (in PyTorch format) for external, customized MIL training loops like WENO. I will look into whether we can extend our MIL training framework to add support for custom optimizers. I don't think it would take too much work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants