DeepKE
DeepKE copied to clipboard
RE:predict.py error:
RE:predict.py error: raceback (most recent call last): File "predict.py", line 119, in main model.load(cfg.fp, device=device) ..................... FileNotFoundError: [Errno 2] No such file or directory: 'xxx/checkpoints/2019-12-03_17-35-30/cnn_epoch21.pth'
你需要修改conf文件夹predict.yaml中的fp参数,为本地训练好所能使用的模型路径