【问题标题】:How to save features into .mat file and .txt file using python in keras?如何在 keras 中使用 python 将特征保存到 .mat 文件和 .txt 文件中?
【发布时间】:2017-06-01 07:15:13
【问题描述】:

我想在 keras 中将我的预测特征保存为 .mat 格式和 .txt 格式,以便在 Matlab 中进一步处理。请帮我。谢谢。

【问题讨论】:

    标签: matlab python-2.7 keras keras-2


    【解决方案1】:

    对于 .mat,请查看 SciPy's File IO

    对于.txt,有很多选项,比如NumPy's savetxt

    还可以查看CSV 格式,这是保存数据以供跨平台使用的常用方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-21
      • 2011-01-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多