Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interpret baseline #1733

Merged
merged 12 commits into from
Nov 21, 2024
2 changes: 0 additions & 2 deletions predicators/structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ def dict_str(self, indent: int = 0, object_features: bool = True) -> str:
obj_dict = {}
if obj.type.name == "robot" or object_features:
for attribute, value in zip(obj.type.feature_names, self[obj]):
if isinstance(value, (float, int, np.float32)):
value = round(float(value), 1)
obj_dict[attribute] = value
obj_name = obj.name
state_dict[f"{obj_name}:{obj.type.name}"] = obj_dict
Expand Down
Loading