Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add precommit config yaml and fix typos automatically #1979

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .codespell_words
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Parth
Reacher
reacher
theses
40 changes: 40 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# To use:
#
# pre-commit run -a
#
# Or:
#
# pre-commit install # (runs every time you commit in git)
#
# To update this file:
#
# pre-commit autoupdate
#
# See https://github.com/pre-commit/pre-commit

repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
exclude: docs/_static/img/
- id: mixed-line-ending
- id: pretty-format-json
- id: trailing-whitespace

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: ['--write-changes', '--ignore-words=.codespell_words']
2 changes: 1 addition & 1 deletion docs/common/envs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ SimpleMultiObsEnv
-----------------

.. autoclass:: SimpleMultiObsEnv
:members:
:members:
6 changes: 3 additions & 3 deletions docs/misc/projects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ Real world experiments were conducted during RoboCup competitions on the Sigmaba
FRASA: Fall Recovery And Stand up agent
---------------------------------------

A Deep Reinforcement Learning agent for a humanoid robot that learns to recover from falls and stand up.
A Deep Reinforcement Learning agent for a humanoid robot that learns to recover from falls and stand up.

The agent is trained using the MuJoCo physics engine. Real world experiments are conducted on the
The agent is trained using the MuJoCo physics engine. Real world experiments are conducted on the
Sigmaban humanoid robot, a small-sized humanoid designed by the *Rhoban Team* to compete in the RoboCup Kidsize League.
The results, detailled in the paper and the video, show that the agent is able to recover from
The results, detailed in the paper and the video, show that the agent is able to recover from
various external disturbances and stand up in a few seconds.

| Authors: Marc Duclusaud, Clément Gaspard, Grégoire Passault, Mélodie Daniel, Olivier Ly
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_docker_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ NVIDIA_ARG="--gpus all"

docker run -it ${NVIDIA_ARG} --rm --network host --ipc=host \
--mount src=$(pwd),target=/home/mamba/stable-baselines3,type=bind stablebaselines/stable-baselines3:latest \
bash -c "cd /home/mamba/stable-baselines3/ && $cmd_line"
bash -c "cd /home/mamba/stable-baselines3/ && $cmd_line"