スキップしてメイン コンテンツに移動

投稿

ラベル(Anaconda)が付いた投稿を表示しています

ROS noetic + Anaconda3 + YOLOv5

Reference https://conda.io/projects/conda/en/latest/commands.html   sip2@sip2-2021:~$ source ~/anaconda3/etc/profile.d/conda.sh   sip2@sip2-2021:~$ conda info --e # conda environments: # base                  *  /home/sip2/anaconda3 py38-test                /home/sip2/anaconda3/envs/py38-test py38-torch1-12-1         /home/sip2/anaconda3/envs/py38-torch1-12-1 sip2@sip2-2021:~$ conda create -n py38-torch1-12-1-gpu-od --clone py38-torch1-12-1 Source:      /home/sip2/anaconda3/envs/py38-torch1-12-1 Destination: /home/sip2/anaconda3/envs/py38-torch1-12-1-gpu-od sip2@sip2-2021:~$ conda activate py38-torch1-12-1-gpu-od sip2@sip2-2021:~$ mkdir -p ~/catkin_od/src sip2@sip2-2021:~$ cd catkin_od sip2@sip2-2021:~/catkin_od$ catkin_make ... -- Configuring done -- Generating done -- Build files have been written to: /home/sip2/catkin_od/build #### #### Running command: "make -j16 -l16" in "/home/sip2/catkin_od/build" #### (py38-torch1-12-1-gpu-od) sip2@sip2-2021:~/catkin_od$ cd

Environment setup (Anaconda, Pytorch)

2022-09-14 version Environment setup OS: Ubuntu 20.04 CUDA: 11.6.2 cuDNN:  8.4.0.27 Anaconda: 64-Bit (x86) Installer (659 MB) Pytorch: 1.12.1 with CUDA11.6   1. Anaconda https://www.anaconda.com/products/distribution 64-Bit (x86) Installer (659 MB) installation finished. WARNING:     You currently have a PYTHONPATH environment variable set. This may cause     unexpected behavior when running the Python interpreter in Anaconda3.     For best results, please verify that your PYTHONPATH only points to     directories of packages that are compatible with the Python interpreter     in Anaconda3: /home/sip2/anaconda3 Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> no sip2@sip2-2021:~$ source ~/anaconda3/etc/profile.d/conda.sh sip2@sip2-2021:~$ conda create --name py38-test python=3.8 # # To activate this environment, use # #     $ conda activate py38-test # # To deactivate an active environment, use # #     $ conda deactivate 2. Pytorch1.12