Skip to content

Commit

Permalink
v0.0.18: Updated the precision of the outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevedder committed Feb 10, 2024
1 parent f16fa92 commit dc74807
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bucketed_scene_flow_eval/eval/bucketed_epe.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ class OverallError:

def __repr__(self) -> str:
static_epe_val_str = (
f"{self.static_epe:0.2f}" if np.isfinite(self.static_epe) else f"{self.static_epe}"
f"{self.static_epe:0.6f}" if np.isfinite(self.static_epe) else f"{self.static_epe}"
)
dynamic_error_val_str = (
f"{self.dynamic_error:0.2f}"
f"{self.dynamic_error:0.6f}"
if np.isfinite(self.dynamic_error)
else f"{self.dynamic_error}"
)
Expand Down Expand Up @@ -199,7 +199,7 @@ def to_full_latex(self) -> str:
# Format the data values with two decimal places or a hyphen if NaN
row_data = " & ".join(
[
f"{value:.2f}" if not np.isnan(value) else "-"
f"{value:.6f}" if not np.isnan(value) else "-"
for value in error_matrix[self.class_names.index(class_name)]
]
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude = [

[project]
name = "bucketed_scene_flow_eval"
version = "0.0.17"
version = "0.0.18"
authors = [
{ name="Kyle Vedder", email="[email protected]" },
]
Expand Down

0 comments on commit dc74807

Please sign in to comment.