ERNIE
ERNIE copied to clipboard
安装后第一次跑报AttributeError: 'WindowsPath' object has no attribute 'tell'
应该是执行:model = ErnieModel.from_pretrained('ernie-1.0')时报如下错,windows中的pycharm里跑的,版本2.3.0
[INFO] 2022-05-20 14:36:48,313 [modeling_ernie.py: 267]: get pretrain dir from https://ernie-github.cdn.bcebos.com/model-ernie1.0.1.tar.gz
[INFO] 2022-05-20 14:36:54,157 [modeling_ernie.py: 285]: loading pretrained model from C:\Users\xwhmajun.paddle-ernie-cache\466eabcffd6d6a83ae9cb97dd1a167bd
Traceback (most recent call last):
File "D:\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
可以参考一下 https://toscode.gitee.com/paddlepaddle/Paddle/issues/I4QBUH
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reopen it. Thank you for your contributions.