Replies: 3 comments 3 replies
-
What do you mean "batch prediction"? Darknet doesn't support batch prediction. #7541 (comment) |
Beta Was this translation helpful? Give feedback.
-
import argparse def parser(): def check_arguments_errors(args): def check_batch_shape(images, batch_size): def load_images(images_path): def prepare_batch(images, network, channels=3):
def image_detection(image_path, network, class_names, class_colors, thresh):
def batch_detection(network, images, class_names, class_colors, def image_classification(image, network, class_names): def convert2relative(image, bbox): def save_annotations(name, image, detections, class_names): def batch_detection_example(): def main():
if name == "main": this is the darknet_images.py that is in the darknet-master folder |
Beta Was this translation helpful? Give feedback.
-
Please see what I wrote in my first comment:
|
Beta Was this translation helpful? Give feedback.
-
batch_detections = darknet.network_predict_batch(network, darknet_images, batch_size, image_width,
OSError: exception: access violation reading 0x0000018D331F1040
I got the error above, when using the darknet_images.py to do the batch prediction, anyone having the same issue using the batch detection in the darknet_images.py?
Hope anyone can help me out on this. Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions