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

DGL_GCN-Transformer cannot work. #161

Open
DeepAIDD opened this issue Apr 27, 2023 · 1 comment
Open

DGL_GCN-Transformer cannot work. #161

DeepAIDD opened this issue Apr 27, 2023 · 1 comment

Comments

@DeepAIDD
Copy link

Traceback (most recent call last):
File "/root/prog/wzp/DeepPurpose/MyWork/test.py", line 51, in
model.train(train, val, max_auc = 0.8, max_auprc = 0.8)
File "/root/prog/wzp/DeepPurpose/DeepPurpose/DTI.py", line 445, in train
score = self.model(v_d, v_p)
File "/root/anaconda3/envs/DeepPurpose/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/root/prog/wzp/DeepPurpose/DeepPurpose/DTI.py", line 54, in forward
v_f = torch.cat((v_D, v_P), 1)
RuntimeError: Sizes of tensors must match except in dimension 0. Got 2 and 64

Hello, I am very interested in your job and this combination cannot work.

@kexinhuang12345
Copy link
Owner

Is other combination works? Could you share reproduce code?

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

2 participants