Open ghost opened 5 years ago
运行python fine_tune_ernie.py.py出错: RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got CUDAType instead (while checking arguments for embedding)
@yuhang1993115 改下input的数据类型
我也遇到这个问题了,修改数据类型成 Tensor.int64也还报错
运行python fine_tune_ernie.py.py出错: RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got CUDAType instead (while checking arguments for embedding)