We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好!请问我自定义的图数据集里面,节点特征为categorical,然后我使用了one-hot编码,使用experiment(model="gin", dataset=dataset)训练时,显示如下错误: cogdl/operators/spmm/spmm.cpp:39: at::Tensor csr_spmm(at::Tensor, at::Tensor, at::Tensor, at::Tensor): Assertion B.dtype() == torch::kFloat32 || B.dtype() == torch::kFloat16' failed.`
cogdl/operators/spmm/spmm.cpp:39: at::Tensor csr_spmm(at::Tensor, at::Tensor, at::Tensor, at::Tensor): Assertion
请问有什么解决方法吗?
The text was updated successfully, but these errors were encountered:
可以把特征转成FloatTensor来试试
Sorry, something went wrong.
谢谢了,准确率比较低,不知道是我自己数据的问题
No branches or pull requests
❓ Questions & Help
你好!请问我自定义的图数据集里面,节点特征为categorical,然后我使用了one-hot编码,使用experiment(model="gin", dataset=dataset)训练时,显示如下错误:
cogdl/operators/spmm/spmm.cpp:39: at::Tensor csr_spmm(at::Tensor, at::Tensor, at::Tensor, at::Tensor): Assertion
B.dtype() == torch::kFloat32 || B.dtype() == torch::kFloat16' failed.`请问有什么解决方法吗?
The text was updated successfully, but these errors were encountered: