Skip to content

Commit

Permalink
removed print command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dingel321 committed Jun 24, 2024
1 parent d819cc8 commit b098816
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cryo_sbi/inference/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,5 @@ def forward(self, theta: torch.Tensor, x: torch.Tensor, x_obs: torch.Tensor) ->
self.estimator.train()

log_p = self.estimator.npe(self.estimator.standardize(theta), latent_vecs_x)
print(-log_p.mean().item(), summary_stats_regularization.mean().item())

return -log_p.mean() + 0.0 * summary_stats_regularization

0 comments on commit b098816

Please sign in to comment.