Traceback (most recent call last):
File "./demo.py", line 101, in
tf.app.run()
File "/Users/vamshi/projects/google_ml_engine/mlengine-env/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "./demo.py", line 54, in main
img_resized = letter_box_image(img, FLAGS.size, FLAGS.size, 128)
File "/Users/vamshi/projects/od/tensorflow-yolo-v3/utils.py", line 278, in letter_box_image
to_return[pad_top:pad_top+fit_height, pad_left:+fit_width] = fit_image
ValueError: could not broadcast input array from shape (416,234,3) into shape (416,180,3)
I also meet this error. change the "[pad_top:pad_top+fit_height, pad_left:+fit_width]" to "[pad_top:pad_top+fit_height, pad_left:pad_left+fit_width]" in the line278
Traceback (most recent call last): File "./demo.py", line 101, in
tf.app.run()
File "/Users/vamshi/projects/google_ml_engine/mlengine-env/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "./demo.py", line 54, in main
img_resized = letter_box_image(img, FLAGS.size, FLAGS.size, 128)
File "/Users/vamshi/projects/od/tensorflow-yolo-v3/utils.py", line 278, in letter_box_image
to_return[pad_top:pad_top+fit_height, pad_left:+fit_width] = fit_image
ValueError: could not broadcast input array from shape (416,234,3) into shape (416,180,3)