Skip to content

Commit

Permalink
Add warning about using sb3 algo on binder
Browse files Browse the repository at this point in the history
These are indeed extremely slow on binder which makes them unusable for
now.
  • Loading branch information
nhuet authored and neo-alex committed Jan 9, 2024
1 parent b19fab1 commit e950964
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion notebooks/11_maze_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"Notes:\n",
"- In order to focus on scikit-decide use, we put some code not directly related to the library in a [separate module](./maze_utils.py) (like maze generation and display).\n",
"- A similar maze domain is already defined in [scikit-decide hub](https://github.com/airbus/scikit-decide/blob/master/skdecide/hub/domain/maze/maze.py) but we do not use it for the sake of this tutorial.\n",
"\n"
"- **Special notice for binder + sb3:**\n",
"it seems that [stable-baselines3](https://stable-baselines3.readthedocs.io/en/master/) algorithms are extremely slow on [binder](https://mybinder.org/). We could not find a proper explanation about it. We strongly advise you to either launch the notebook locally or on colab, or to skip the cells that are using sb3 algorithms (here PPO solver).\n"
]
},
{
Expand Down
5 changes: 4 additions & 1 deletion notebooks/12_gym_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
" - Wrap a gymnasium environment in a scikit-decide domain;\n",
" - Use a classical RL algorithm like PPO to solve our problem;\n",
" - Give CGP (Cartesian Genetic Programming) a try on the same problem;\n",
" - Finally use IW (Iterated Width) coming from the planning community on the same problem."
" - Finally use IW (Iterated Width) coming from the planning community on the same problem.\n",
"\n",
"**Special notice for binder + sb3:**\n",
"it seems that [stable-baselines3](https://stable-baselines3.readthedocs.io/en/master/) algorithms are extremely slow on [binder](https://mybinder.org/). We could not find a proper explanation about it. We strongly advise you to either launch the notebook locally or on colab, or to skip the cells that are using sb3 algorithms (here PPO solver)."
]
},
{
Expand Down

0 comments on commit e950964

Please sign in to comment.