我似乎收到此错误:
File "examples/train_model.py", line 12, in <module>
from parlai.scripts.train_model import TrainLoop, setup_args
File "c:\users\dean\pycharmprojects\parlii\~\parlai\parlai\scripts\train_model.py", line 32, in <module>
from parlai.core.metrics import Metric
File "c:\users\dean\pycharmprojects\parlii\~\parlai\parlai\core\metrics.py", line 20, in <module>
import torch
File "C:\Users\Dean\PycharmProjects\parlii\venv\lib\site-packages\torch\__init__.py", line 79, in <module>
from torch._C import *
ImportError: DLL load failed: The specified procedure could not be found.
尝试运行此行时:
python examples/train_model.py -t self_feeding:dialog --model projects.self_feeding.self_feeding_agent:SelfFeedingAgent --model-file /tmp/mymodel1 -bs 128
我尝试了pip install protobuf==3.6.0
,但仍然无法正常工作。任何人有任何想法吗?