diff --git a/.codespell_words b/.codespell_words new file mode 100644 index 000000000..c67e93f80 --- /dev/null +++ b/.codespell_words @@ -0,0 +1,4 @@ +Parth +Reacher +reacher +theses diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..5f25aa185 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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'] diff --git a/docs/common/envs.rst b/docs/common/envs.rst index 4c20ce4c7..3934c958b 100644 --- a/docs/common/envs.rst +++ b/docs/common/envs.rst @@ -21,4 +21,4 @@ SimpleMultiObsEnv ----------------- .. autoclass:: SimpleMultiObsEnv - :members: \ No newline at end of file + :members: diff --git a/docs/misc/projects.rst b/docs/misc/projects.rst index 7e348acd9..b4f042b5c 100644 --- a/docs/misc/projects.rst +++ b/docs/misc/projects.rst @@ -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 diff --git a/scripts/run_docker_gpu.sh b/scripts/run_docker_gpu.sh index 37b9ee9e0..d4e0ab6cf 100755 --- a/scripts/run_docker_gpu.sh +++ b/scripts/run_docker_gpu.sh @@ -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" \ No newline at end of file +bash -c "cd /home/mamba/stable-baselines3/ && $cmd_line"