"
在原docker里面可以运行,进行commit操作后就无法运行报上面的错误,Docker commit后无法运行出现图中ModelScope错误,请问一下如何解决? Exception: During ast indexing the file /usr/local/lib/python3.7/dist-packages/modelscope/models/base/base_torch_head.py, a related error excepted in the file /usr/local/lib/python3.7/dist-packages/modelscope/utils/ast_utils.py at line: 151: ""attr = getattr(node, field)"" with error msg: ""AttributeError: 'ClassDef' object has no attribute 'type_params'"", please double check the origin file /usr/local/lib/python3.7/dist-packages/modelscope/models/base/base_torch_head.py to see whether the file is correctly edited."
modelscope您用这里的镜像呢,参考以下链接 https://www.modelscope.cn/docs/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85 此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352