facebookresearch / mbrl-lib

Library for Model Based RL
MIT License
959 stars 158 forks source link

Bugfix in ModelTrainer.maybe_get_best_weights() and made the threshold for improvement configurable from ModelTrainer.train() #104

Closed jan1854 closed 3 years ago

jan1854 commented 3 years ago

Types of changes

Motivation and Context / Related issue

Fixes #102 and addresses https://github.com/facebookresearch/mbrl-lib/issues/102#issuecomment-875697175

How Has This Been Tested (if it applies)

I added a new test case in tests/core/test_common_utils.py

Checklist

luisenp commented 3 years ago

Merged. Thanks for the fix!