vincentgong7 / VG_AlexeyAB_darknet

A forked AlexeyAB Darknet repo with extra convenient functions.

Home Page:https://darknet.gong.im

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google Colab, GPU is not working

1000shin opened this issue · comments

Hey Vincent,
Thx for the great fork! We're using to implement our project, but facing some issue.
when we use the google Colab to run, setting the GPU = 1 / CUDNN=1, but it is not working.
some error happen. "/bin/bash: ./darknet: No such file or directory"

! sed -i "s/GPU=0/GPU=1/g" /content/VG_AlexeyAB_darknet/Makefile
! sed -i "s/CUDNN=0/CUDNN=1/g" /content/VG_AlexeyAB_darknet/Makefile
! sed -i "s/OPENCV=1/OPENCV=0/g" /content/VG_AlexeyAB_darknet/Makefile

GPU:
NVIDIA-SMI 465.19.01 Driver Version: 460.32.03 CUDA Version: 11.2
Tesla K80

error :
nvcc fatal : Unsupported gpu architecture 'compute_30'
Makefile:177: recipe for target 'obj/convolutional_kernels.o' failed
make: *** [obj/convolutional_kernels.o] Error 1

!./darknet detector batch cfg/coco.data cfg/yolov4.cfg weights/yolov4.weights io_folder sample_imgs/ output/ -out output/result.json -ext_output > output/result.txt
error : /bin/bash: ./darknet: No such file or directory

2021-04-27_154813
2021-04-27_150256
2021-04-27_150234

thx for the reply,
Haha, I'm not sure ,too.
If any update with the GPU operation, plz announce with us!!
thanks for the great fork again!

Best Regards
-Jason