pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.86k stars 21.33k forks source link

Running darknet problem #2554

Open hereariim opened 2 years ago

hereariim commented 2 years ago

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,

r-toroxel commented 2 years ago

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