From c2ff5e2ebb37114502a077830b4ad8edce73fb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=89=B9=E9=A9=B9?= Date: Thu, 29 May 2025 19:22:07 +0800 Subject: [PATCH] =?UTF-8?q?[built-in][PyTorch][PPO]=20=E4=BF=AE=E6=94=B9PP?= =?UTF-8?q?O=E5=AE=89=E8=A3=85=E4=BE=9D=E8=B5=96=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyTorch/built-in/rl/PPO_for_Pytorch/README.md | 3 ++- PyTorch/built-in/rl/PPO_for_Pytorch/requirements.txt | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyTorch/built-in/rl/PPO_for_Pytorch/README.md b/PyTorch/built-in/rl/PPO_for_Pytorch/README.md index 0b2b9701fc..2ecfd6b742 100644 --- a/PyTorch/built-in/rl/PPO_for_Pytorch/README.md +++ b/PyTorch/built-in/rl/PPO_for_Pytorch/README.md @@ -80,7 +80,8 @@ 在模型根目录下执行命令,安装模型对应PyTorch版本需要的依赖。 ```shell - pip install -r requirements.txt   + pip install -r requirements.txt + pip install gym[box2d]==0.15.4 ``` diff --git a/PyTorch/built-in/rl/PPO_for_Pytorch/requirements.txt b/PyTorch/built-in/rl/PPO_for_Pytorch/requirements.txt index 3e2f4fd906..d74ca398c0 100644 --- a/PyTorch/built-in/rl/PPO_for_Pytorch/requirements.txt +++ b/PyTorch/built-in/rl/PPO_for_Pytorch/requirements.txt @@ -1,4 +1,3 @@ -Box2D==2.3.2 -Box2D-kengz==2.3.3 -gym==0.15.4 +box2d==2.3.2 +box2d-kengz==2.3.3 sympy \ No newline at end of file -- Gitee