allanzelener / YAD2K

YAD2K: Yet Another Darknet 2 Keras
Other
2.71k stars 877 forks source link

why i run detector so slowly? #120

Open wizholy opened 6 years ago

wizholy commented 6 years ago

GPU: Quadro K2200. Detect one images cost 2 seconds why i run detect so slowly?

begin = datetime.datetime.now() out_boxes, out_scores, out_classes = sess.run( [boxes, scores, classes], feed_dict={ yolo_model.input: image_data, input_image_shape: [image.size[1], image.size[0]], K.learning_phase(): 0 }) end = datetime.datetime.now()

Found 2 boxes in 0:00:02.416207