Skip to content

Commit

Permalink
to debug github action add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerum committed Sep 15, 2022
1 parent a5dc286 commit af11524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cameratransform/parameter_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def sample(self):

def set_to_mean(self):
if self.parameters.trace is not None:
print(self.parameters.trace["probability"])
print('self.parameters.trace["probability"]', self.parameters.trace["probability"].dtype)
most_probable_index = self.parameters.trace["probability"].idxmax()
parameter_set = dict(self.parameters.trace.loc[most_probable_index])
if "probability" in parameter_set:
Expand Down

0 comments on commit af11524

Please sign in to comment.