简体   繁体   English

如何将 Keras MNIST 数据集与我自己的 MNIST 图像相结合?

[英]How to combine Keras MNIST dataset with my own MNIST images?

I created some MNIST digits by using a generative adversarial neural network and saved them in png format.我使用生成对抗神经网络创建了一些 MNIST 数字,并将它们保存为 png 格式。 I know that Keras has the MNIST dataset, but I want to combine the digit images that I created with the original MNIST dataset in the Keras.我知道 Keras 有 MNIST 数据集,但我想将我创建的数字图像与 Keras 中的原始 MNIST 数据集结合起来。 Is this possible, if so, how can I do this ?这是可能的,如果是这样,我该怎么做?

Thank you.谢谢你。

i'm pretty sure keras uses the lecun set found here我很确定 keras 使用这里找到的 lecun 集

just decode that set and add your own to the pile只需解码该集并将您自己的添加到堆中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM