SuperPoint 環境配置

SuperPoint  https://github.com/magicleap/SuperPointPretrainedNetwork

 

1、安裝 anaconda

     https://www.anaconda.com/products/individual

   指令下載  wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh   

     https://blog.csdn.net/weixin_42056625/article/details/88971708

     https://blog.csdn.net/xiaerwoailuo/article/details/70054429

       conda相關指令使用:

         https://blog.csdn.net/zhayushui/article/details/80433768?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1

                          

2、創建一個名爲pytorch的虛擬空間,並安裝python 3.6

       conda create -n pytorch python=3.6


3、進入虛擬空間 pytorch

     source activate pytorch

 

4、安裝pytorch

     conda install pytorch torchvision cpuonly -c pytorch

     GPU上   conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0

 

5、安裝opencv

   conda install -c menpo opencv

   如果cv2.imshow顯示相關報錯 ,需要再執行該命令:pip3 install opencv-contrib-python

    https://www.cnblogs.com/leoking01/p/8301724.html

    https://blog.csdn.net/Polaris47/article/details/94560845?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-5

    https://blog.csdn.net/flyyufenfei/article/details/79192330

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章