Peract-复现

问题1

安装pytorch3d
Fails on Cuda 11.6 and PyTorch 1.12 (/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:)

原因分析:

gcc与cuda等的版本匹配问题
参考文档
https://github.com/NVIDIA/apex/issues/1491
https://github.com/facebookresearch/pytorch3d/issues/1509
https://github.com/NVlabs/instant-ngp/issues/119

解决方式

降低gcc版本,从11降为10:
参考文档
https://www.sysgeek.cn/ubuntu-install-gcc-compiler/


问题2

安装pytorch3d
/usr/local/cuda-11.6/include/thrust/detail/dependencies_aware_execution_policy.h(92): error: template template parameter "<error>" is not compatible with template template parameter "BaseSystem" detected during instantiation of class "thrust::detail::dependencies_aware_execution_policy<ExecutionPolicyCRTPBase> [with ExecutionPolicyCRTPBase=<error>]" /usr/local/cuda-11.6/include/thrust/system/cuda/detail/par.h(88): here

原因分析:

CUB与cuda等的版本匹配问题
默认安装cub的版本为1.10.0,而我的11.6需要1.16.0版本
参考文档
https://github.com/facebookresearch/pytorch3d/issues/1206

解决方式

curl -LO https://github.com/NVIDIA/cub/archive/1.16.0.tar.gz
tar xzf 1.16.0.tar.gz
export CUB_HOME=$PWD/cub-1.16.0

问题3

从github上download的RLBench与peract,调用时发现各种不匹配

原因分析:

RLBench在近期改过了代码,但是peract并没有相应的更改

解决方法(暂时):

这个方法很绕,但没办法

从RVT的工作入手:
https://github.com/NVlabs/RVT
前置的库我们应该都已经安装成功了
从step 5开始
在这里插入图片描述
git clone https://github.com/NVlabs/RVT.git

然后cd RVT && git submodule update --init

接下来的几种库
推荐是删掉各自的requirements,按后再pip
而且PyRep这项工作不需要pip
如果之前已经pip了,要先pip uninstall RLBench
然后再pip install -e rvt/libs/RLBench

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值