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

Modifying the vae-mnist example to incorporate SVDKL model from gpytorch. #2567

Closed
utkarshp1161 opened this issue Oct 8, 2024 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@utkarshp1161
Copy link

Hi,

I have been following the tutorial VAE for MNIST in BoTorch and was wondering if it's possible to replace the combination of the VAE and single-task GP model with the SVDKL (Stochastic Variational Deep Kernel Learning) model from the GPyTorch tutorial.

Specifically, I'd like to integrate the SVDKL model in place of the VAE-GP combination. Additionally, I aim to train the DKL model dynamically during the Bayesian Optimization (BO) step, instead of relying on a static latent space from a pretrained model, as is the case with the VAE.

Could you provide guidance on how this could be implemented or if there are any potential challenges or limitations with such an approach?

Thank you!

@utkarshp1161 utkarshp1161 added the enhancement New feature or request label Oct 8, 2024
@utkarshp1161
Copy link
Author

I was able to accomplish this on below link hence closing this thread:
https://github.com/utkarshp1161/Active-learning-in-microscopy/blob/main/notebooks/single_objective_BO_SVDKL.ipynb

@Balandat
Copy link
Contributor

Sorry - we must have missed this issue earlier. Glad it worked out for you and thanks for providing an update!

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