Open byq-luo opened 4 years ago
Traceback (most recent call last): File "main.py", line 191, in main(YOLO()) File "main.py", line 71, in main boxes, out_class, confidences, midPoint = yolo.detect_image(image) File "F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master\yolo.py", line 122, in detect_image K.learning_phase(): 0 File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 889, in run run_metadata_ptr) File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 1096, in _run % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (1, 416, 416, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)' (yolo) PS F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master>
Try install keras use this command : conda install -c conda-forge keras same with TF.
Traceback (most recent call last): File "main.py", line 191, in main(YOLO()) File "main.py", line 71, in main boxes, out_class, confidences, midPoint = yolo.detect_image(image) File "F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master\yolo.py", line 122, in detect_image K.learning_phase(): 0 File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 889, in run run_metadata_ptr) File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 1096, in _run % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (1, 416, 416, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)' (yolo) PS F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master>
Try install keras use this command : conda install -c conda-forge keras same with TF.
Thank you.
Traceback (most recent call last): File "main.py", line 191, in
main(YOLO())
File "main.py", line 71, in main
boxes, out_class, confidences, midPoint = yolo.detect_image(image)
File "F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master\yolo.py", line 122, in detect_image
K.learning_phase(): 0
File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 889, in run
run_metadata_ptr)
File "D:\ProgramData\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\client\session.py", line 1096, in _run
% (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 416, 416, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)'
(yolo) PS F:\aia\Traffic-Counting-with-YOLOv3-and-SORT-master>