Dive-into-DL-PyTorch icon indicating copy to clipboard operation
Dive-into-DL-PyTorch copied to clipboard

10.7.2 torchtext 好像版本更新了,没有stoi属性,且换成新版本get_stoi依旧由于

Open smurf-1119 opened this issue 2 years ago • 0 comments

image 报错原因在于,训练集中有些滤去的词不在vocab里,想询问一下,除了直接散去这些不在里面的词,还有什么更好的方法解决

smurf-1119 avatar Oct 03 '21 15:10 smurf-1119