📌  相关文章
📜  TypeError:无法处理此数据类型:(1, 1, 3), <f4 - Whatever Code Example

📅  最后修改于: 2022-03-11 14:55:42.885000             🧑  作者: Mango

代码示例2
random_array = np.random.random_sample(content_array.shape) * 255
random_array = random_array.astype(np.uint8)
random_image = Image.fromarray(random_array)