-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
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
节点特征 #433
Comments
可以把特征转成FloatTensor来试试 |
谢谢了,准确率比较低,不知道是我自己数据的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❓ 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: