我在load_img遇到过这个错误 TypeError: expected str, bytes or os.PathLike object, not UploadedFile. from tensorflow.keras.modelsimport load_modelfrom tensorflow.keras.preprocessing.imageimport deco
下面是我的代码:from keras.preprocessing.image import img_to_arrayfrom keras.applications.imagenet_utils import decode_predictions# load an image in PIL format