YingtongDou/CARE-GNN

can't seem to run "python train.py"

furycurry opened this issue · 4 comments

When I am trying to run python train.py in the terminal, there is an error telling
mat1 and mat2 shapes cannot be multiplied (64x1024 and 64x2).
I am using Jupyter Notebook and have successfully downloaded and installed all the prerequisites for the code to run.

Here is also a screenshot of the error.
issue

@YingtongDou

The shape of the first matrix should be 1024 x 64 (batch_size x emb_size), please check your code and make sure the GNN output has the above shape.

same problem. just modified the shape of mat1 using torch.t, but the training results had little classification performance. looks like the code needs to be fixed.

Sorry for the inconvenience. The problems are fixed in the last update #9. If there are any further questions, please don't hesitate to contact us.

same problem. just modified the shape of mat1 using torch.t, but the training results had little classification performance. looks like the code needs to be fixed.

Thanks