Open sleepyzh opened 9 months ago
GAT( (spgat): SpGAT( (dropout_layer): Dropout(p=0.3, inplace=False) (attention_0): SpGraphAttentionLayer (256 -> 256) (attention_1): SpGraphAttentionLayer (256 -> 256) (out_att): SpGraphAttentionLayer (512 -> 512) ) ) In GATencoder, with 2 heads and a dim of 256, the final output dimension of the model is 512, which does not match the embedded dim.
The context model you proposed in the paper was not found in the code,Comparative learning(def contrastive_loss(self, s_embed, v_embed, t_embed):) is not used in the default code, how do you use it. Looking forward to your reply
The context model you proposed in the paper was not found in the code,Comparative learning(def contrastive_loss(self, s_embed, v_embed, t_embed):) is not used in the default code, how do you use it. Looking forward to your reply
May I ask what version of the environment you are running the code in? I used a 1.7 torch and an 11.0 cuda to run on the 3090 graphics card, but they couldn't run and reported the error :"Traceback (most recent call last):"
File "main. py", line 234, in
In the code, the result obtained from this evaluation is not the best epoch result, but the best value of all indicators. They do not appear in the same epoch.