darknet icon indicating copy to clipboard operation
darknet copied to clipboard

Running darknet problem

Open hereariim opened this issue 2 years ago • 1 comments

Hello all,

I use linux user : Ubuntu 20.04. I want running inference task with my pre-trained darknet yolov4 model using terminal. I ran this command ./darknet detector test ~/Documents/Data_challenge/Apple_detection_via_YOLOV4/main_folder/Model_ALL_views/obj.data ~/Documents/Data_challenge/Apple_detection_via_YOLOV4/main_folder/yolov4-tiny-test.cfg "~/Documents/Data_challenge/Apple_detection_via_YOLOV4/main_folder/Model_ALL_views/backup/yolov4-tiny-train_best.weights" -thresh 0.20 -dont_show -out ~/Documents/Data_challenge/Apple_detection_via_YOLOV4/main_folder/Model_ALL_views/Prediction.csv < ~/Documents/Data_challenge/Apple_detection_via_YOLOV4/main_folder/Model_ALL_views/test.txt After running this command, I got directly this output ./darknet: error while loading shared libraries: libopencv_highgui.so.3.2: cannot open shared object file: No such file or directory How can I solve this problem ? please, I will appreciate your help, Best,

hereariim avatar Jun 22 '22 21:06 hereariim

well it says you are missing some opencv lib, have you installed opencv?

r-toroxel avatar Jun 27 '22 08:06 r-toroxel