def img_to_batch():
img = cv2.imread('xxxx.jpg')
img = cv2.resize(img, (112,112)).astype(np
模型转换:tensorflow2 模型转pb,pb转tflite
最新推荐文章于 2024-06-10 09:34:49 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
def img_to_batch():
img = cv2.imread('xxxx.jpg')
img = cv2.resize(img, (112,112)).astype(np