Graphormer icon indicating copy to clipboard operation
Graphormer copied to clipboard

About edge_attr_type

Open monsteryi0314 opened this issue 3 years ago • 2 comments

Can the edge_attr_type not be of type long? If it is a float type, the operation in algos.pyx will go wrong. I don't know what to do. Do you have any good suggestions? (set edge_attr_type float type happen error)Thanke you.

monsteryi0314 avatar Sep 23 '22 05:09 monsteryi0314

There's no variable called edge_attr_type. I guess you mean edge_attr - it can't be type float, it must be type long because it needs to be converted into embedding.

mavisguan avatar Sep 23 '22 05:09 mavisguan

There's no variable called edge_attr_type. I guess you mean edge_attr - it can't be type float, it must be type long because it needs to be converted into embedding.

没有名为 的变量edge_attr_type。我猜你的意思是edge_attr- 它不能是 type float,它必须是 typelong因为它需要被转换成嵌入。

Thank you! Still have a question:If my node feature type is time series, what needs to be changed at the beginning of the embedding?

monsteryi0314 avatar Sep 23 '22 05:09 monsteryi0314