Skip to content

Commit

Permalink
sampling via diffusion twice
Browse files Browse the repository at this point in the history
  • Loading branch information
gmoss13 committed Jan 28, 2025
1 parent 1cd1464 commit 362fb64
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sbi/inference/posteriors/score_posterior.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,6 @@ def sample(
)[0]
samples = samples.reshape(sample_shape + self.score_estimator.input_shape)
elif self.sample_with == "sde":
samples = self._sample_via_diffusion(
sample_shape=sample_shape,
predictor=predictor,
corrector=corrector,
predictor_params=predictor_params,
corrector_params=corrector_params,
steps=steps,
ts=ts,
max_sampling_batch_size=max_sampling_batch_size,
show_progress_bars=show_progress_bars,
)
proposal_sampling_kwargs = {
"predictor": predictor,
"corrector": corrector,
Expand Down

0 comments on commit 362fb64

Please sign in to comment.