Bonsai-gym-common

Latest version: v0.7.4

Safety actively analyzes 626004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.6.0

Added
- Add a function `logging_basic_config()` that can be called to setup a
very simple root logger to make it easy for simulators to setup logging
before calling into `bonsai.run_for_training_or_prediction()`. Most Bonsai
simulator samples will use this function. Advanced users who setup their
own python logging will not need to use this function. Note that this
package's `logging_basic_config()` function simply wraps the same function
in the bonsai-python package, while also undoing gym's root logger setup.
- Add a log statement to GymSimulator that will output progress information
about episodes that run for longer then ten seconds.

Changed
- Increase the minimum required version of bonsai-python to 0.12.0.
- Change the print statement that outputs final episode reward information
in GymSimulator to a log statement. Also move this statement so that
episodes that end due to a reset message from the Bonsai server also log.

0.5.3

Fixed
- Fix a bug in ImageGymSimulator constructor that could lead to a reference
error on `self.downsample`.

0.5.2

Changed
- Change test framework from nose2 to pytest.

0.5.1

Fixed
- Pin gym pip package dependency to be between 0.7.0 and 0.7.3; later
versions of the gym package are currently incompatible with this package.

Added
- Add code coverage configuration.

0.5.0

Added
- Add parsing of the `--headless` command line argument to this package.
This argument was previously parsed by the argparser in the bonsai-python
package and passed into the `GymSimulator` class.

0.4.2

Fixed
- Fix a bug where the last state in an episode would be missing.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.