|
运行rknn_image_demo.py报错
Traceback (most recent call last):
File "rknn_image_demo.py", line 72, in <module>
rgb_image = load_image(image_path, grayscale=False)
File "/home/toybrick/Downloads/rknn_test/utils/inference.py", line 12, in load_image
pil_image = image.load_img(image_path, grayscale, color_mode, target_size)
File "/home/toybrick/.local/lib/python3.6/site-packages/keras_preprocessing/image.py", line 488, in load_img
", ".join(_PIL_INTERPOLATION_METHODS.keys())))
ValueError: Invalid interpolation method None specified. Supported methods are nearest, bilinear, bicubic, hamming, box, lanczos
|
|