bug实录---图像分类--华为modelarts
程序员文章站
2024-03-19 16:51:22
...
解决办法:
data = np.ndarray((count, ROWS, COLS, CHANNELS), dtype=np.uint8)
data = np.ndarray((count, ROWS, COLS, CHANNELS), dtype=np.uint8)
uint8 | 无符号整数(0 to 255) |