[Window]InvalidArgumentError: Tensor holds the wrong type, it holds int, but desires to be int64_t. #500
我在windows10 上面修复了这个问题。错误的原因是int和int64不匹配。
只需要更改 paddlehub\reader\cv_reader.py 第166行
labels.append([int(label)])
改为
labels.append([np.int64(label)])
希望及时修复,谢谢。