执行GPU预测时遇到InvalidArgumentError:
收藏
EnforceNotMet: -------------------------------------------- C++ Call Stacks (More useful to developers): -------------------------------------------- Windows not support stack backtrace yet.
Error Message Summary:
---------------------- InvalidArgumentError: Tensor holds the wrong type, it holds int, but desires to be int64_t. [Hint: Expected valid == true, but received valid:0 != true:1.] at (D:\1.8.5\paddle\paddle/fluid/framework/tensor_impl.h:33) [operator < lookup_table > error]
0
收藏
请登录后评论
张量类型错误,把张量转换成“int64”类型试试