Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The local results are poor #7

Open
whw2021 opened this issue Sep 11, 2024 · 3 comments
Open

The local results are poor #7

whw2021 opened this issue Sep 11, 2024 · 3 comments

Comments

@whw2021
Copy link

whw2021 commented Sep 11, 2024

The following are the results I obtained after executing the file train_SRGCAE_Local.py.
SRGCAE_EdgeConc_DI
SRGCAE_EdgeConc_1725586470 5939867

I didn't adjust the parameters; why is the performance so poor?

@ChenHongruixuan
Copy link
Owner

Hi @whw2021 ,

Thank you for your question. I tried our upload code. Please enlarge the epoch to 45 and this problem should be solved.

Best,

@PradeepYLN
Copy link

@ChenHongruixuan I am trying it on new sample. Could you please help me on how to fix the below error?

Traceback (most recent call last):
  File "/SRGCAE/train_SRGCAE_Local.py", line 151, in <module>
    train_model(args)
  File "/SRGCAE/train_SRGCAE_Local.py", line 74, in train_model
    feat_t1 = GCAE_model(node_t1, norm_adj_t1)
  File "/app/indices/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/app/indices/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
    return forward_call(*args, **kwargs)
  File "/SRGCAE/model/SRGCAE.py", line 35, in forward
    x = torch.sigmoid(self.gc1(x, adj))
  File "/app/indices/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/app/indices/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
    return forward_call(*args, **kwargs)
  File "SRGCAE/model/GraphConv.py", line 32, in forward
    support = torch.mm(x, self.weight)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (361x4 and 3x16)

@whw2021
Copy link
Author

whw2021 commented Nov 28, 2024

Hi @whw2021 ,

Thank you for your question. I tried our upload code. Please enlarge the epoch to 45 and this problem should be solved.

Best,

Thank you for your response. Following your advice, I indeed achieved good results on the shuguang dataset, but the performance on other datasets is still very poor. For example, the following figure shows the local and nonlocal results I obtained on Gloucester, which are far from what is presented in your paper. I would like to understand why this is the case and hope to receive your explanation.
Gloucester1_EdgeConc_45
Gloucester1_Nonlocal_45

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

No branches or pull requests

3 participants