Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

dimension problem #1

Open
ICDI0906 opened this issue Oct 15, 2019 · 2 comments
Open

dimension problem #1

ICDI0906 opened this issue Oct 15, 2019 · 2 comments

Comments

@ICDI0906
Copy link

Hello~
Recently, I am reading your paper carefully. In model EGCU, I'm confused about how the dimension of the parameter matrix change, can you explain it?
looking forward to your reply.

@benedekrozemberczki
Copy link

I would also like to raise this issue, the current code release is not sufficient for replication.

@dgx11678832
Copy link

Traceback (most recent call last):
File "/home/dgx/PycharmProjects/EvolveGCN-master/test_args.py", line 237, in
trainer.train()
File "/home/dgx/PycharmProjects/EvolveGCN-master/trainer.py", line 63, in train
eval_train, nodes_embs = self.run_epoch(self.splitter.train, e, 'TRAIN', grad = True)
File "/home/dgx/PycharmProjects/EvolveGCN-master/trainer.py", line 104, in run_epoch
loss = self.comp_loss(predictions,s.label_sp['vals'])
File "/home/dgx/anaconda3/envs/EvolveGCN-master/lib/python3.6/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/dgx/PycharmProjects/EvolveGCN-master/Cross_Entropy.py", line 47, in forward
alpha = self.weights(labels)[labels].view(-1,1)
IndexError: index 2 is out of bounds for dimension 0 with size

Have you encountered this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants