赞
踩
nvidia3060下
1903 sudo apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10
1904 n amd64 libasan6 amd64 10.3.0-1ubuntu1~20.04 [2062 kB]
1905 Get:3 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 libgcc-10-dev amd64 10.3.0-1ubuntu1~20.04 [2342 kB]
1906 Get:4 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 gcc-10 amd64 10.3.0-1ubuntu1~20.04 [17.5 MB]
1907 Get:5 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 libstdc++-10-dev amd64 10.3.0-1ubuntu1~20.04 [1759 kB]
1908 Get:6 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 g++-10 amd64 10.3.0-1ubuntu1~20.04 [9803 kB]
1909 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
1910 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
1911 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
1922 sudo apt install gcc-7 g++-7
1923 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7
1924 sudo update-alternatives --config gcc
1926 gcc --version
wget https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda_11.3.0_465.19.01_linux.run
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
1989 ls
1990 cd cuda-pkg/cuda-11.3/cudnn-11.3-linux-x64-v8.2.1.32/
1991 ls
1992 sudo cp cuda/include/cudnn.h /usr/local/cuda/include
1993 sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
1994 sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
1995 cd ~/github/graspnet-baseline/
1996 conda env list
1997 conda activate graspnet
1998 cd github/graspnet-baseline/
1999 pip install -r requirements.txt
2000 nautilus
2001 conda activate graspnet
2002 cd github/graspnet-baseline/
2003 cd pointnet2/
2004 python setup.py install
2005 cd ..
2006 cd knn/
2007 python setup.py install
2008 cd ..
2009 cd graspnetAPI/
2010 pip install .
2011 cd ..
2012 cd graspnet-baseline/
2013 ls
2014 CUDA_VISIBLE_DEVICES=0 python demo.py --checkpoint_path logs/log_kn/checkpoint-rs.tar
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。