栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

DenseMatchingBenchmark环境配置及复现

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

DenseMatchingBenchmark环境配置及复现

Requirements:

PyTorch1.7.1+, Python3.8+, Cuda11.0+
    mmcv==1.3.5

 Option 1: Step-by-step installation

a. Create a conda virtual environment and activate it. Then install required packages.
   conda create --name dm-b python=3.8
   //source activate(importent)
   conda activate dense_matching_benchmark

   # this installs the right pip and dependencies for the fresh python
   conda install ipython
   conda install pip

   # install required packages from requirements.txt
   pip install -r /(自己的路经)/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
   注:repuirement.txt文件里面有pytorch,删掉。

  torch>=1.7.1   torchvision>=0.8.2    torchaudio>=0.7.2 自己下载

b.Install PyTorch stable or nightly and torchvision following the  https://pytorch.org/
   conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch
 
   conda 安装报错 specified in the package manifest cannot be found.
      解决:  conda clean --packages --tarballs    删除缓存的包重新下载
   离线安装:
   conda install --offline pytorch-1.3.1-py3.7_cuda10.1.243_cudnn7.6.3_0.tar.bz2
   conda install --offline torchvision-0.4.2-py37_cu101.tar.bz2
   conda install --offline cudatoolkit-10.1.243-h6bb024c_0.tar.bz2

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/648967.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号