torch 1.10.0是我只能装上这个版本
报错内容如下:
D:\pythonwork\pythonProject1\Scripts\python.exe D:/DeepKE-main/DeepKE-main/example/ner/few-shot/run.py
Traceback (most recent call last):
File "D:\DeepKE-main\DeepKE-main\example\ner\few-shot\run.py", line 12, in <module>
from deepke.name_entity_re.few_shot.models.model import PromptBartModel, PromptGeneratorModel
File "D:\pythonwork\pythonProject1\lib\site-packages\deepke\__init__.py", line 3, in <module>
from .name_entity_re import *
File "D:\pythonwork\pythonProject1\lib\site-packages\deepke\name_entity_re\__init__.py", line 1, in <module>
from .few_shot import *
File "D:\pythonwork\pythonProject1\lib\site-packages\deepke\name_entity_re\few_shot\__init__.py", line 1, in <module>
from .few_shot import *
ModuleNotFoundError: No module named 'deepke.name_entity_re.few_shot.few_shot'
Process finished with exit code 1
不知道该怎么弄了