PaddlePaddle / models

Officially maintained, supported by PaddlePaddle, including CV, NLP, Speech, Rec, TS, big models and so on.
Apache License 2.0
6.91k stars 2.91k forks source link

解析模型时报错了 #2947

Open sunyh214 opened 5 years ago

sunyh214 commented 5 years ago

/sentiment_classification/config.py", line 27, in _parse config_path) OSError: Error in parsing bert model config file './senta_config.json'

是不是因为python3的原因,不知怎么处理?

kuke commented 5 years ago

这份代码,没在python3下面测试过,在python2.7下面运行会有问题吗

JiaXiao243 commented 5 years ago

我这边在python3上可以正常使用,方便的话,请描述一下具体操作步骤。@sunyh214