keras-yolo3
keras-yolo3 copied to clipboard
yolo_video.py RuntimeError: The Session graph is empty
I download the code and want to learn about it. I convert .weights to .h5 and then I run yolo_video.py. I get the error: RuntimeError: The Session graph is empty
I find the error is here: yolo.py
out_boxes, out_scores, out_classes = self.sess.run(
[self.boxes, self.scores, self.classes],
feed_dict={
self.yolo_model.input: image_data,
self.input_image_shape: [image.size[1], image.size[0]],
K.learning_phase(): 0
})
It seems that session here is empty. I search some solutions but cannot solve it . Would someone can give me some advice?
666