报错-module ‘numpy.typing‘ has no attribute ‘NDArray‘
module 'numpy.typing' has no attribute 'NDArray'
·
1.RuntimeError: Failed to import transformers.models.bert.modeling_bert because of the following error (look up to see its traceback):
Failed to import transformers.onnx.config because of the following error (look up to see its traceback):
module ‘numpy.typing’ has no attribute ‘NDArray’
需要安装pillow包:
pip install pillow==9.0.0
更多推荐
所有评论(0)