Open amitbcp opened 2 years ago
Yes, it is a bug. Would you raise a PR to help us fix it?
@cuhk-hbsun sure !
@cuhk-hbsun created the PR #1134 . though its a very small change. I quickly ran the training for 2 epochs and it works as expected.
Let me know if anything else is required to merge the PR
@cuhk-hbsun while going over the code I had another doubt in terms of understanding that I want to clarify
If the above 2 understanding is correct, then my major doubt is at line :
@cuhk-hbsun this might have been a missed notification, can you please check the last question and share your views on it ?
https://github.com/open-mmlab/mmocr/blob/64fb6fffc06f168355c8e3d28f5b31f26536f485/mmocr/models/kie/heads/sdmgr_head.py#L82
The GNN Layers return node embedding and edge embedding . But the edge_embedding is name as cat_nodes. That is the updated edge embedding is not going as input to the next GNN Layer.
Is there a reason for not updating the edge embedding from every GNN layers
@cuhk-hbsun