专栏算法工具链1. 在编译模型时,出现 "ERROR: failed to parse configuration

1. 在编译模型时,出现 "ERROR: failed to parse configuration

已解决
wcr1883962024-06-27
18
1

1. 在编译模型时,出现 "ERROR: failed to parse configuration file" 错误,请问该怎么解决?

算法工具链
评论1
0/1000
  • 潘俊伟
    Lv.1

    可以检查配置文件的语法是否正确,路径是否正确。

    代码示例:

    # 检查并确保配置文件路径和内容正确cat mobilenet_config.yaml

    验证 YAML 文件格式是否正确

    python -c 'import yaml, sys; yaml.safe_load(sys.stdin)' < mobilenet_config.yaml
    2024-06-27
    0
    0