rr-learning / CausalWorld

CausalWorld: A Robotic Manipulation Benchmark for Causal Structure and Transfer Learning
https://sites.google.com/view/causal-world/home
MIT License
205 stars 25 forks source link

performance-only fixes (np.clip, np.array growing, ) #102

Closed michaelfeil closed 2 years ago

michaelfeil commented 2 years ago

as discussed in #101:

Time before for 10 runs for pusing task (200 steps,3 resets) : ~13.0s +- 200msafter 10.8s +- 150ms

All changed functions have been like: np.testing.assert_array_equal(prior_implementation, faster_implementation) while running the pytests