buppt / ChineseNER

中文命名实体识别,实体抽取,tensorflow,pytorch,BiLSTM+CRF
1.39k stars 394 forks source link

求大佬解释下我这个错误,怎么张量的大小不对啊哭了 #31

Open JunHaoXU1998 opened 4 years ago

JunHaoXU1998 commented 4 years ago

ValueError: Cannot feed value of shape (32, 60) for Tensor 'input_data:0', which has shape '(32, 50)'

iiiicicio commented 9 months ago

ValueError: Cannot feed value of shape (32, 60) for Tensor 'input_data:0', which has shape '(32, 50)'

utils.py中的max_len改为50~