stable-baselines3/docs/misc
Jan-Hendrik Ewers 4a1137ba3a
Add np.ndarray as a recognized type for TB histograms. (#1635)
* Add np.ndarray as a recognized type for TB histograms.

Torch histograms allow th.Tensor, np.ndarray, and caffe2 formatted strings. This commits expands the TensorBoardOutputFormat's capabilities to log the two former types.

* Update changelog to reflect bug fix

* fix: try/catch for if either np or torch aren't at the required versions. See https://github.com/DLR-RM/stable-baselines3/pull/1635 for more details

* fix: Add comment describing the test for when add_histogram should not have been called

* Cleanup

---------

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2024-08-02 11:55:27 +02:00
..
changelog.rst Add np.ndarray as a recognized type for TB histograms. (#1635) 2024-08-02 11:55:27 +02:00
projects.rst Adding ER-MRL to community project (#1904) 2024-04-25 14:31:15 +02:00