【问题标题】:python3: can't open file 'tensorflow/examples/speech_commands/train.py': [Errno 2] No such file or directorypython3:无法打开文件'tensorflow/examples/speech_commands/train.py':[Errno 2]没有这样的文件或目录
【发布时间】:2019-01-18 18:26:28
【问题描述】:

我已经安装了 tensorflow(CPU) 版本 1.9.0 所需目录中不存在此脚本。我的安装有问题还是应该从 Github 手动下载?

【问题讨论】:

    标签: tensorflow python-3.5


    【解决方案1】:

    如果您遵循Simple Audio Recognition 教程,则应先手动检查存储库以获取脚本。使用 pip 安装 TensorFlow 时不会安装这些。

    请完成以下步骤开始培训:

    1. 下载 TensorFlow 存储库:git clone https://github.com/tensorflow/tensorflow.git
    2. 进入仓库目录:cd tensorflow
    3. 切换到1.9版本分支:git checkout r1.9
    4. 现在您可以运行训练脚本:python tensorflow/examples/speech_commands/train.py

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-01-08
      • 2021-02-26
      • 1970-01-01
      • 2021-11-05
      • 2019-05-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多