XL2248 / HGNN

Code for Infusing Multi-Source Knowledge with Heterogeneous Graph Neural Network for Emotional Conversation Generation (AAAI21)
Apache License 2.0
25 stars 7 forks source link

About generate Adj #8

Open KaetheFu opened 2 years ago

KaetheFu commented 2 years ago

adj_matrix_speaker_text[j, 70+word2embed[speaker[j]]] = 1 What does 70 represent in this case? Why plus 70?

XL2248 commented 2 years ago

Hi,

The 70 means max turn of dialogue 35 (text) + max turn of dialogue 35 (facial expression). The total 90 means max turn of dialogue 35 (text) + max turn of dialogue 35 (facial expression) + speaker number 13 + emotion categories 7.

Plus 70 aims to construct the relation between speakers when building the 2-D matrix. Hope it helps.

KaetheFu commented 2 years ago

ThankYou