Closed NaJaeMin7 closed 6 years ago
when I run demo.py, TypeError: preprocess_test() missing 1 required positional argument: 'size_index' I saw #51 , I changed original code to
im_data = np.expand_dims( yolo_utils.preprocess_test((image, None, cfg.inp_size), 0)[0], 0)
but another error occurs.
TypeError: 'numpy.int64' object is not iterable
How can i fix this? thanks in advance.
Sorry for introduced this bug in the last PR. I just fixed this in the master branch: dfdd822
when I run demo.py, TypeError: preprocess_test() missing 1 required positional argument: 'size_index' I saw #51 , I changed original code to
im_data = np.expand_dims( yolo_utils.preprocess_test((image, None, cfg.inp_size), 0)[0], 0)
but another error occurs.
TypeError: 'numpy.int64' object is not iterable
How can i fix this? thanks in advance.