Unable to init server: Could not connect: Connection refused. YOLO on Google Colab
10,599
I also faced the same, but resolved by updating "config file". There might be some unbalanced "[" or "#" characters.
Solution 1: Update your config file as in this format 👉 https://github.com/pjreddie/darknet/blob/master/cfg/yolov3.cfg
Solution 2: For some, using -dont_show
flag in detection command has worked.
eg: !./darknet detector test data/obj.data cfg/yolov3_V1_config.cfg /mydrive/yolov3_V1_config_last.weights /mydrive/yolov3/Poachers/pic2.jpg -thresh 0.3 -dont_show
Author by
A.Code.1
Updated on June 28, 2022Comments
-
A.Code.1 almost 2 years
I'm trying to test out YOLO on google colab for the first time and keep running into this odd error:
This is the line of code that I run:
!./darknet detector test data/obj.data cfg/yolov3_custom.cfg /mydrive/yolov3/backup/yolov3_custom_last.weights /mydrive/images/I5.png -thresh 0.3