You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容如下:
File "/home/aistudio/.paddlehub/modules/lac/module.py", line 208, in cut
predictor.run()
ValueError: In user code:
InvalidArgumentError: The type of data we are trying to retrieve (float32) does not match the type of data (int64) currently contained in the container.
[Hint: Expected dtype() == phi::CppTypeToDataType<T>::Type(), but received dtype():9 != phi::CppTypeToDataType<T>::Type():10.] (at ../paddle/phi/core/dense_tensor.cc:160)
[operator < pd_kernel.phi_kernel > error]
The text was updated successfully, but these errors were encountered:
环境:在BML codelab中的vscode运行的代码,使用的全部默认配置
code如下:
报错内容如下:
File "/home/aistudio/.paddlehub/modules/lac/module.py", line 208, in cut
predictor.run()
ValueError: In user code:
The text was updated successfully, but these errors were encountered: