Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练时报错 #12

Open
dandan2020-ui opened this issue Aug 13, 2020 · 0 comments
Open

训练时报错 #12

dandan2020-ui opened this issue Aug 13, 2020 · 0 comments

Comments

@dandan2020-ui
Copy link

Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\dan\AppData\Local\Temp\jieba.cache
Loading model cost 0.647 seconds.
Prefix dict has been built successfully.
0it [00:00, ?it/s]开始训练模型!!!
13724it [00:00, 257175.79it/s]
3494it [00:00, 264304.62it/s]
1216it [00:00, 23299.77it/s]
576it [00:00, 115511.31it/s]
49it [00:00, 49108.94it/s]
155it [00:00, 155456.03it/s]
100%|██████████| 576/576 [00:00<00:00, 8812.50it/s]
100%|██████████| 155/155 [00:00<00:00, 7778.66it/s]
0%| | 0/49 [00:00<?, ?it/s]576 / 155 / 49 sentences in train / dev / test.
100%|██████████| 49/49 [00:00<00:00, 8189.39it/s]
Traceback (most recent call last):
File "E:/8、Chatbot机器人/ner-slot_filling-master/train_evaluate.py", line 248, in
main(args)
File "E:/8、Chatbot机器人/ner-slot_filling-master/train_evaluate.py", line 242, in main
train()
File "E:/8、Chatbot机器人/ner-slot_filling-master/train_evaluate.py", line 143, in train
config = load_config(args.config_file)
File "E:\8、Chatbot机器人\ner-slot_filling-master\utils\utils.py", line 112, in load_config
return json.load(f)
File "K:\Anaconda\lib\json_init_.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "K:\Anaconda\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "K:\Anaconda\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "K:\Anaconda\lib\json\decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 10 column 5 (char 180)

请问如何解决呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant