stable-baselines3/docs
Dormann, Noah 1f0dd60b97 Fix saving on GPU - Loading on CPU (#45)
* removed policy from save, changed th.loads to map to device

* found hack: catch pickle exception and trying th.load with mapping instead, otherwise raise exception with more information -> loading cuda on cpu raises exception -> leads to th.load with map being called

* deleted todo

* updated changelog

* start of saving refactor

* first working c

* all tests pass, save refactored

* - backwards compatibilty not always
- make pytest all passing
- make typing all passing

* Fixes and simplify the save method

* Remove unused param

* Fix backward compat

* Fix docstring
2020-01-31 13:06:55 +01:00
..
_static Add doc 2019-09-26 11:46:40 +02:00
guide Build doc 2020-01-20 16:19:35 +01:00
misc Fix saving on GPU - Loading on CPU (#45) 2020-01-31 13:06:55 +01:00
modules Fix typing errors and typos 2020-01-22 17:17:12 +01:00
conf.py Partially type base class 2020-01-22 17:51:27 +01:00
index.rst Build doc 2020-01-20 16:19:35 +01:00
make.bat Add doc 2019-09-26 11:46:40 +02:00
Makefile Add doc 2019-09-26 11:46:40 +02:00
README.md Add doc 2019-09-26 11:46:40 +02:00
spelling_wordlist.txt Fix typing errors and typos 2020-01-22 17:17:12 +01:00

Stable Baselines Documentation

This folder contains documentation for the RL baselines.

Build the Documentation

Install Sphinx and Theme

pip install sphinx sphinx-autobuild sphinx-rtd-theme

Building the Docs

In the docs/ folder:

make html

if you want to building each time a file is changed:

sphinx-autobuild . _build/html