Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING:tensorflow:From D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master\tools\generate_detections.py:80: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead. Traceback (most recent call last): File "demo.py", line 143, in <module> main(YOLO()) File "demo.py", line 73, in main boxes, confidence, classes = yolo.detect_image(image) File "D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master\yolo.py", line 96, in detect_image K.learning_phase(): 0 File "D:\ProgramData\Anaconda3\envs\tf14_gpu\lib\site-packages\tensorflow\python\client\session.py", line 950, in run run_metadata_ptr) File "D:\ProgramData\Anaconda3\envs\tf14_gpu\lib\site-packages\tensorflow\python\client\session.py", line 1149, in _run 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)' (tf14_gpu) PS D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master> #5

Open
byq-luo opened this issue May 28, 2020 · 0 comments

Comments

@byq-luo
Copy link

byq-luo commented May 28, 2020

WARNING:tensorflow:From D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master\tools\generate_detections.py:80: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.

Traceback (most recent call last):
File "demo.py", line 143, in
main(YOLO())
File "demo.py", line 73, in main
boxes, confidence, classes = yolo.detect_image(image)
File "D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master\yolo.py", line 96, in detect_image
K.learning_phase(): 0
File "D:\ProgramData\Anaconda3\envs\tf14_gpu\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\ProgramData\Anaconda3\envs\tf14_gpu\lib\site-packages\tensorflow\python\client\session.py", line 1149, in _run
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)'
(tf14_gpu) PS D:\Documents\Downloads\Compressed\Deep-SORT-YOLOv4-master>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant