keras-yolo3 icon indicating copy to clipboard operation
keras-yolo3 copied to clipboard

yolo_video.py RuntimeError: The Session graph is empty

Open github2016-yuan opened this issue 4 years ago • 1 comments

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?

github2016-yuan avatar May 08 '20 01:05 github2016-yuan

666

jiangjiaxiaotianxia avatar Sep 09 '20 07:09 jiangjiaxiaotianxia