开发者社区 > ModelScope模型即服务 > 语音 > 正文

报了很多警告,请问怎么解决?

2023-05-11 07:05:07,609 - modelscope - WARNING - No preprocessor field found in cfg. 2023-05-11 07:05:07,609 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-05-11 07:05:07,609 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config:

展开
收起
游客3fqfeub4jtdxa 2023-05-11 15:45:10 870 0
1 条回答
写回答
取消 提交回答
  • 你遇到的问题可能是由于你的configuration.json文件中缺少preprocessor字段或者preprocessor字段的值不正确导致的。

    • 你需要在configuration.json文件中添加或修改preprocessor字段,以匹配你的模型的输入和输出类型和格式。例如,如果你的模型是一个文本到视频合成的模型,那么你可能需要这样的preprocessor字段:
      "preprocessor": {
        "type": "text",
        "val": {
            "max_length": 128,
            "tokenizer": "bert-base-uncased"
        },
        "mode": "inference",
        "name": "text-preprocessor"
      }
      
    2023-10-13 10:32:22
    赞同 1 展开评论 打赏

包括语音识别、语音合成、语音唤醒、声学设计及信号处理、声纹识别、音频事件检测等多个领域

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载