Skip to content

Commit

Permalink
more printing
Browse files Browse the repository at this point in the history
  • Loading branch information
niki-amini-naieni committed Nov 5, 2023
1 parent 9a0c104 commit 916af68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nerf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def nll(truths, preds, vars):
vars = vars.flatten(end_dim=-2).cpu().numpy()
log_pdf_vals = []
for px_ind in range(vars.shape[0]):
print(np.diag(vars[px_ind]))
log_pdf_vals.append(
np.log(
multivariate_normal(truths[px_ind], preds[px_ind], np.diag(vars[px_ind]))
Expand Down

0 comments on commit 916af68

Please sign in to comment.