AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.65k stars 7.96k forks source link

.dll and yolo_console_dll.exe run yolo9000 #347

Open chaipangpang opened 6 years ago

chaipangpang commented 6 years ago

Before that, I have done the following test on windows:

  1. compile darknet then test yolo-voc and yolo-9000
  2. compile darknet_no_gpu then test yolo-voc and yolo-9000
  3. compile yolo_cpp_dll
  4. compile yolo_cpp_dll_no_gpu
  5. compile yolo_console_dll
  6. test yolo-voc by .dll+yolo_console_dll.exe

But i can't run the yolo-9000 by .dll+yolo_console_dll.exe,it could printf some infromation on consle like: layer filter 0 conv 32 3 x 3 / 1 416 x 416 x 3 -> 416 x 416 x 32 . . 31 detection

so the yolo9000.weights can not be loaded in Detector detector(cfg_file, weights_file);

excuse me, can you tell me the reason?

AlexeyAB commented 6 years ago

I just used this command line on Windows: yolo_console_dll.exe data/9k.names yolo9000.cfg yolo9000.weights test.mp4

And I get this results:

image

chaipangpang commented 6 years ago

thanks