通过这篇文章,学习GNN实现细节,确定用在手部图像上的可行性,初步确定实现方案。
文章及代码链接:https://github.com/Microsoft/gated-graph-neural-network-samples
2.1:prepare_specific_graph_model
2.2:final_node_representations
2.2.2:对于每个时间步长,更新cur_node_states
2.3.1:对每个task,计算gated_regression
2.3.2:把每个图中所有的点求个和得到一个图的输出结果——computed_values(float)
论文初步阅读
这是Microsoft Research2016年发表于ICLR的文章,作者是Yujia Li
图的特征学习包括两个步骤:输入图的表达和中间环节的特征聚合。在图的表达上,本文沿用2009年的 Scarselli的工作,我们在它上面融入了RNN的思想。 后续特征聚合十分重要我们引入了GGS-NNs。
1:GG-NNs计算过程
可以用6个公式表达
-
initialization
-
imformation pass
-
update gate
-
reset gate
-
activate
-
activate
-
output
2:GGS-NNs计算流程
用了两个 GG-NNs: Fo(k) 和 FX(k)。 Fo(k) for predicting o(k) from X(k), and FX(k) forpredicting X(k+1) from X(k). when training GGS-NN,there are two setting:specifying all intermediate annotations or only the first one.