Bert-Chinese-Text-Classification-Pytorch icon indicating copy to clipboard operation
Bert-Chinese-Text-Classification-Pytorch copied to clipboard

关于json对象的转换

Open hu1243 opened this issue 3 years ago • 0 comments

你好!我在复现的过程中遇到了如下问题,请问这是原因呢?我跑的是您的源码和您的数据集 File "D:\PycharmProjects\Bert\Bert-Chinese-Text-Classification-Pytorch-master\pytorch_pretrained\modeling.py", line 208, in from_json_file return cls.from_dict(json.loads(text))

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

hu1243 avatar Apr 04 '22 02:04 hu1243