Skip to content

Commit

Permalink
fix imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
janfb committed Feb 16, 2024
1 parent c84723e commit b96a8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion sbi/inference/snle/snle_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from torch import Tensor, nn, optim
from torch.distributions import Distribution
from torch.nn.utils.clip_grad import clip_grad_norm_
from torch.utils import data
from torch.utils.tensorboard.writer import SummaryWriter

from sbi import utils as utils
Expand Down
3 changes: 2 additions & 1 deletion sbi/inference/snpe/snpe_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@
RestrictedPrior,
check_estimator_arg,
handle_invalid_x,
mask_sims_from_prior,
nle_nre_apt_msg_on_invalid_x,
npe_msg_on_invalid_x,
test_posterior_net_for_multi_d_x,
validate_theta_and_x,
warn_if_zscoring_changes_data,
x_shape_from_simulation,
)
from sbi.utils.sbiutils import ImproperEmpirical, mask_sims_from_prior
from sbi.utils.sbiutils import ImproperEmpirical


class PosteriorEstimator(NeuralInference, ABC):
Expand Down

0 comments on commit b96a8d9

Please sign in to comment.