PromptCraft-Robotics部署步骤和问题记录

GitHub - microsoft/PromptCraft-Robotics: Community for applying LLMs to robotics and a robot simulator with ChatGPT integration

部署环境:UE4.27

Visual Studio 2022

Arisim1.8.1

可参考:git clone https://github.com/Microsoft/AirSim.git

https://microsoft.github.io/AirSim/build_windows/#build-airsim

http://t.csdnimg.cn/eCSeJ

点击运行,会让你选择是否用小车作为目标使用,选择否就是无人机。

Build AirSim#

  • Install Visual Studio 2022. Make sure to select Desktop Development with C++ and Windows 10 SDK 10.0.19041 (should be selected by default) and select the latest .NET Framework SDK under the 'Individual Components' tab while installing VS 2022.

  • Start Developer Command Prompt for VS 2022.

  • Clone the repo: git clone https://github.com/Microsoft/AirSim.git, and go the AirSim directory by cd AirSim.

    Note: It's generally not a good idea to install AirSim in C drive. This can cause scripts to fail, and requires running VS in Admin mode. Instead clone in a different drive such as D or E.

  • Run build.cmd from the command line. This will create ready to use plugin bits in the Unreal\Plugins folder that can be dropped into any Unreal project.

注意点:安装airsim需要安装numpy和msgpack-python

然后是安装PromptCraft-Robotics 需要安装openai==0.28,版本得是这个0.28

之后可能汇报下面的错误

openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

这个问题很好解决,看了Github上面大佬的回复以及csdn找到了解决办法:

首先用 pip install urllib3==1.25.11命令换回旧版urllib,然后把你的代理调成全局模式,推荐Clash for windows 开TUN模式和系统代理两个,然后选延迟低的节点

搞定!

相关推荐
新知图书10 分钟前
6.4 关键时刻:它自己修好了 Bug
人工智能·agent·ai agent·智能体
深海鱼在掘金31 分钟前
深入浅出RAG——第7章:基础篇实战:文档问答机器人
人工智能·typescript·命令行
Jay805931 分钟前
一文讲清楚 Epoch、Batch 和 Iteration 的区别
人工智能
深海鱼在掘金34 分钟前
深入浅出RAG——第8章:RAG 的局限性及应对策略
人工智能·架构
lucas_AI37 分钟前
1.2B 小模型赢过 235B 大模型:NaviDC-OCR 把文档解析卷明白了
人工智能·深度学习·算法
Java&Develop39 分钟前
DeltaFStation 宝塔 Linux 部署教程
python
阿星AI工作室41 分钟前
一文看懂爆火的 Graph Engineering,以及它和 Loop Engineering、Agent 循环到底啥关系
人工智能
小柯南敲键盘44 分钟前
跨境电商图片翻译工具推荐:批量AI翻译+视频字幕+智能抠图
人工智能·python·音视频
王六米。1 小时前
武汉人工智能应用软件开发、企业AI智能体服务怎么排查
人工智能·武汉自动意志科技有限公司·智钳claw·ai漫剧生成·人工智能应用软件开发·企业ai智能体服务
AI多Agent协作实战派1 小时前
AI多Agent协作系统实战(四十):AI说“没有错误“,系统判了“测试失败“——一个正则的误判
数据库·人工智能