Exception: During ast indexing the file /root/miniconda3/envs/py310/lib/python3.10/site-packages/modelscope/models/multi_modal/vldoc/model.py, a related error excepted in the file /root/miniconda3/envs/py310/lib/python3.10/site-packages/modelscope/utils/ast_utils.py at line: 152: "attr = getattr(node, field)" with error msg: "AttributeError: 'ClassDef' object has no attribute 'type_params'", please double check the origin file /root/miniconda3/envs/py310/lib/python3.10/site-packages/modelscope/models/multi_modal/vldoc/model.py to see whether the file is correctly edited.
版本问题将1.15降级就行
pip uninstall modelscope
pip install modelscope==1.14