AlexeyAB / darknet

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

predicting images in batch #6424

Open azizHakim opened 4 years ago

azizHakim commented 4 years ago

OS: Ubuntu 18.04 Python: 3.7 OpenCV: 4.2.0

Tried detecting images in batches with PerformBatchDetect. But it seems to predict only the first batch. Also getting aSegmentation fault (core dumped) error when the number of the image is smaller than the batch size. How do I detect images in batches?

iitrsamrat commented 4 years ago

We are seeing same error as above.

Try to load weights: yolov4.weights Loading weights from yolov4.weights... seen 64, trained: 32032 K-images (500 Kilo-batches_64) Done! Loaded 162 layers from weights-file Loaded - names_list: data/coco.names, classes = 80 Segmentation fault