再一次安装anygrasp

1,anaconda

2,新建py3.6.2的环境

因为anygrasp 要求 pytorch 1.6 太老了,而且对应的cuda 都是cuda 11以下的版本

我是笔记本带3060,只能cuda11以上。

为了解决这个问题,感谢史驭舒大佬提供的思路

他复现用的环境是 pytorch 1.8.1 + cuda11.1

3,安装pytorch+cuda+cudnn

conda install pytorch=1.8.1=py3.6_cuda11.1_cudnn8.0.5_0  -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/

要是安装的不顺利就把清华源的地址都添加进去

成功安装的服务器的conda配置了一些国内的镜像,而报错的服务器是使用的原始镜像。问题可能找到;
在报错的服务器添加国内镜像
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/bioconda/
conda config --add channels http://mirrors.aliyun.com/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
 

还不行的话,把conda.rc中的https改成http

Anaconda conda 不能用,一直Solving enviroment 最后报错CondaHTTPError: HTTP 000 CONNECTION FAILED for url_conda转圈_Amberrr-L的博客-CSDN博客

4,git clone 项目

5,下载要求的包

1,
pip install -r requirements.txt
会很慢

记住版本直接去指定清华源下载 


pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名

据个例子:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  open3d==0.15.2

或者一步到位

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

6,cd pointnet2 python setup.py install 出错

看看g++的版本

UOS软件包 build-essential 没有可安装候选_six66667的博客-CSDN博客

但是还没解决,看下面这个

apt install报错,下列软件包有未满足的依赖关系_黄靖淞的博客-CSDN博客

第一个方案不接受

第二个方案是降级的,这个要接受

 解决

然后继续  python setup.py install

成功了。 

下面是 knn文件夹下的   python setup.py install  成功的截图

7,进入项目

去github 他们的项目中下载那两个 checkpoint

执行

CUDA_VISIBLE_DEVICES=0 python demo.py --checkpoint_path logs/log_rs/checkpoint-rs.tar
 

 报错

libncursesw.so.5: cannot open shared object file: No such file or directory_syheliel的博客-CSDN博客

sudo apt-get install libncursesw5

 然后再运行demo 就行了

  • 2
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值