Skip to content

Commit

Permalink
removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
beckynevin committed Sep 6, 2023
1 parent f6b6a46 commit a903806
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions deepbench/physics_object/pendulum.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,10 @@ def create_noise(
if verbose:
print("key", key, "attribute", attribute, "noise level", noise_level)
if noise_level is not None:
print("attribute before", attribute)
attribute = rs.normal(
loc=attribute, scale=attribute * noise_level, size=n_steps
)
setattr(self, key, attribute)
print("resetting attribute", attribute)
# Now, if this is the hierarchical case, we can redefine
# the acceleration_due_to_gravity term
if self._noise_level["acceleration_due_to_gravity"] is None:
Expand Down

0 comments on commit a903806

Please sign in to comment.