Pytracking installation on Linux

本文档提供了在Ubuntu 18.04系统上安装PyTracking所需依赖的详细步骤。首先需要安装Conda和Python 3.7,然后安装支持CUDA的PyTorch。接着安装matplotlib、pandas等库,以及coco和lvis工具包。还需要安装ninja-build、spatial-correlation-sampler、jpeg4py,并设置环境。最后下载预训练网络。

Linux(Ubuntu )Installation

原文github
This document contains detailed instructions for installing the necessary dependencies for PyTracking. The instrustions have been tested on an Ubuntu 18.04 system. We recommend using the install script if you have not already tried that.

Requirements

  • Conda installation with Python 3.7. If not already installed, install from https://www.anaconda.com/distribution/.
  • Nvidia GPU.

Step-by-step instructions

Create and activate a conda environment(使用克隆功能会更快更好地创建一个新环境)

conda create --name pytracking python=3.7
conda activate pytracking

Install PyTorch
Install PyTorch with cuda10.(推荐使用cuda 11 for RTX3090 GPU)

#conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c conda-forge
conda install pytorch torchvision torchaudio cudatoolkit=11.1 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值