We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to give more flexibility, we could expose the entire training loop to the user:
from sbi.inference import nre_loss, ratio_estimator_based_potential, MCMCPosterior net = classifier_nn("mdn") data_loader = ... for e in range(epochs): optim.zero_grad() loss = nre_loss(net, theta, x) loss.backward() optim.step() potential = ratio_estimator_based_potential(net, prior, x_o) posterior = MCMCPosterior(potential, proposal=prior)
This would require two things:
The text was updated successfully, but these errors were encountered:
related to #932
Sorry, something went wrong.
michaeldeistler
Successfully merging a pull request may close this issue.
In order to give more flexibility, we could expose the entire training loop to the user:
This would require two things:
The text was updated successfully, but these errors were encountered: