This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] EDGE-AI-STUDIO-MCU:Tensorlab 安装问题:

Guru**** 3003130 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1669567/edge-ai-studio-mcu-tensorlab-installation-issue

部件号: EDGE-AI-STUDIO-MCU

我已按照用户指南成功安装 tensorlab 软件包。 当我运行这些示例时:

https://software-dl.ti.com/C2000/esd/mcu_ai/user_guide/getting_started/quickstart.html

image.png

我有以下日志:

C:\ti\tinyml-tensorlab\tinyml-modelzoo>run_tinyml_modelzoo.bat examples\generic_timeeries_classification\config_MSPM0.YAML
Tiny ML ModelZoo 培训
=======================================
配置:   C:\ti\tinyml-tensorlab\tinyml-modelzoo\examples\generic_timeseries_classification\config_MSPM0.yaml
ModelMaker: c:\ti\tinyml-tensorlab\tinyml-modelzoo\..\tinyml-modelmaker\tinyml_modelmaker\run_tinyml_modelmaker.py
=======================================

回溯(最近一次呼叫):
 中的文件“C:\ti\tinyml-tensorlab\tinyml-modelmaker\tinyml_modelmaker\run_tinyml_modelmaker.py“、第 37 行
  导入 YAML
ModuleNotFoundError:没有名为“YAML“的模块

您能帮我解决这些问题吗? 谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、这可以在 vev 条件下运行 bat 文件时修复。

    C:\ti\tinyml-tensorlab>.\venv\Scripts\activate.bat
    
    (venv) C:\ti\tinyml-tensorlab>cd tinyml-modelzoo
    
    (venv) C:\ti\tinyml-tensorlab\tinyml-modelzoo>run_tinyml_modelzoo.bat examples\generic_timeseries_classification\config_MSPM0.yaml
    Tiny ML ModelZoo Training
    ========================================
    Config:      C:\ti\tinyml-tensorlab\tinyml-modelzoo\examples\generic_timeseries_classification\config_MSPM0.yaml
    ModelMaker:  C:\ti\tinyml-tensorlab\tinyml-modelzoo\..\tinyml-modelmaker\tinyml_modelmaker\run_tinyml_modelmaker.py
    ========================================