Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza committed Jan 7, 2025
1 parent 8baad75 commit f369b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/exp2/run_inference_galaxy_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def loglikelihood(
background: float,
):
_draw_params = {**params}
_draw_params["f"] = 10 ** _draw_params.pop["lf"]
_draw_params["f"] = 10 ** _draw_params.pop("lf")
model = draw_fnc(**_draw_params)
likelihood_pp = stats.norm.logpdf(data, loc=model, scale=jnp.sqrt(background))
return jnp.sum(likelihood_pp)
Expand Down

0 comments on commit f369b91

Please sign in to comment.