Open wangyingshuai opened 6 years ago
when I run main.py ,the error is :+1:
Traceback (most recent call last):
File "main.py", line 228, in
I solved this problem,when open file ,add encoding="utf8" ,in order to ensure open and write file are all use utf8 encoding.
I solved this problem,when open file ,add encoding="utf8" ,in order to ensure open and write file are all use utf8 encoding.
why not work again
when I run python3 main.py --train=True --clean=True --model_type=idcnn in my GPU,the error is: Traceback (most recent call last): File "main.py", line 10, in
from model import Model
File "/root/wangys/NLP/Information-Extraction-Chinese-master/NER_IDCNN_CRF/model.py", line 8, in
from NER_IDCNN_CRF.utils import result_to_json
ImportError: No module named 'NER_IDCNN_CRF'