snoopy1316
snoopy1316
> 按照这样的要求,使用最新的ernie版本,出现一下问题: PS D:\PaddleHub\PaddleHub\demo\text_classification> python train.py [2022-04-06 14:55:57,042] [ INFO] - Already cached C:\Users\admin\.paddlenlp\models\ernie-1.0\ernie_v1_chn_base.pdparams W0406 14:55:57.045624 18448 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.4,...
> rtionError: Variable Shape not match, Variable [ embedding_0.w_0_moment1_0 ] need tensor with shape (18000, 768) but load set tensor with shape (50006, 1024) 听了你的建议,之前另一个模型下生成有这个checkpoint文件,重新在text_classification文件下新建一个checkpoint2文件来保存,解决问题
> > [2022-04-06 14:56:09,814] [ INFO] - PaddleHub model checkpoint loaded. current_epoch=9 [acc=0.9400] 在文本匹配demo中,由ernie-tiny更换为bert-base-chinese或者ernie的2.0.2模型,重新训练,出现这样的问题: PS D:\PaddleHub\PaddleHub\demo\text_matching> python train.py [2022-04-07 14:49:49,768] [ INFO] - Already cached C:\Users\admin.paddlenlp\models\bert-base-chinese\bert-base-chinese.pdparams W0407 14:49:49.770637 18872 device_context.cc:447]...
> 您好,已经不支持--name 参数了,去掉--name就可以使用 你好,这边时已经去掉--name的,服务端正常打印日志,但是在客户端输入命令后出现的Fail to find method on ‘/uci/prediction'的问题该怎么解决