Last active
November 10, 2020 07:17
-
-
Save evmcheb/2ee09f562c458b5a1a2351e025496002 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!git clone https://github.com/AlexeyAB/darknet/ | |
% cd darknet | |
!sed -i 's/OPENCV=0/OPENCV=1/g' Makefile | |
!sed -i 's/GPU=0/GPU=1/g' Makefile | |
!sed -i 's/CUDNN=0/CUDNN=1/g' Makefile | |
!sed -i 's/CUDNN_HALF=0/CUDNN_HALF=1/g' Makefile | |
!sed -i 's/LIBSO=0/LIBSO=1/g' Makefile | |
!apt update | |
!apt-get install libopencv-dev python-opencv | |
!make clean | |
!make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment