wheel_legged_genesis 开源项目复现与问题记录

Reinforcement learning of wheel-legged robots based on Genesis

System Requirements

Ubuntu 20.04/22.04/24.04

python >= 3.10


开始配置环境!

点击releases后进入,下载对应最新版本的代码:

将下载后的代码包解压到你的自定义路径下,开始配置相关的项目环境:

conda create -n wlg python=3.10

conda activate wlg

这里我的CUDA版本装的是12.1,所以安装对应的pytorch版本

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

现在需要下载Genesis:

GitHub - Genesis-Embodied-AI/Genesis: A generative world for general-purpose robotics & embodied AI learning.

cd wheel_legged_genesis-0.0.7

pip install genesis-world # Requires Python >=3.9;

git clone https://github.com/Genesis-Embodied-AI/Genesis.git

cd Genesis

pip install -e .

cd ..

再install tensorboard:

pip install tensorboard

pip install pygame

pip install opencv-python

最后install rsl-rl:

cd rsl_rl && pip install -e .

好了,下面开始测试并运行代码:

test:

cd wheel_legged_genesis-0.0.7

python locomotion/wheel_legged_eval.py

遇到如下报错:

解决方法:

在项目的utils目录下打开终端,使用pycharm编辑器,创建一个__init__.py文件:

touch init.py

再次运行代码,遇到如下error:

这个需要将代码中的所有相对路径设置为绝对路径,就不一一展示了。

需要注意的是代码中的参数需要修改如下:

python 复制代码
def main():
    parser = argparse.ArgumentParser()
    parser.add_argument("-e", "--exp_name", type=str, default="wheel-legged-walkingv0.0.7")
    parser.add_argument("--ckpt", type=int, default=4000)
    args = parser.parse_args()

再次运行代码,直到出现如下画面:

说明代码运行成功!环境配置无误!


参考:
GitHub - Albusgive/wheel_legged_genesis: Reinforcement learning of wheel-legged robots based on Genesis

GitHub - Genesis-Embodied-AI/Genesis: A generative world for general-purpose robotics & embodied AI learning.

相关推荐
Pluchon2 小时前
硅基计划4.0 算法 字符串
java·数据结构·学习·算法
折翅鵬2 小时前
Android 程序员如何系统学习 MQTT
android·学习
~无忧花开~3 小时前
JavaScript学习笔记(十五):ES6模板字符串使用指南
开发语言·前端·javascript·vue.js·学习·es6·js
拾贰_C5 小时前
【pycharm---pytorch】pycharm配置以及pytorch学习
pytorch·学习·pycharm
向阳花开_miemie5 小时前
Android音频学习(二十一)——ALSA简介
学习·音视频
come112345 小时前
ptyhon 基础语法学习(对比php)
android·学习
专业软件系统开发6 小时前
多盘资源搜索转存系统源码v3.6 全开源版
开源·多盘资源搜索·网盘搜索源码
倔强菜鸟6 小时前
2025.8.10-学习C++(一)
开发语言·c++·学习
xiejava10186 小时前
开源安全管理平台wazuh-安装与配置
安全·开源
蓝桉~MLGT6 小时前
Python学习历程——组织结构(包含for、if、while等等)
开发语言·python·学习