简体   繁体   English

在新数据集上应用 CNN.h5 格式 model

[英]apply a CNN .h5 format model on the new data set

I have trained the model and save this model to a file [ cats_and_dogs_small_1.h5 ].我已经训练了 model 并将这个 model 保存到文件 [cats_and_dogs_small_1.h5]。 How can I apply this model to a separate test data (Own created picture from my mobile phone)?如何将此 model 应用到单独的测试数据(从我的手机创建的图片)?

Can you please help me with this?你能帮我解决这个问题吗?

Please provide more info.请提供更多信息。 eg Which framework are you using?例如,您使用的是哪个框架? Also, what do you mean by "apply"?另外,“申请”是什么意思? Do you wish to evaluate a new image using the trained model?您是否希望使用经过训练的 model 评估新图像?

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

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