DGL_GCN-Transformer cannot work. #20

Open
opened 2025-10-14 17:38:38 -06:00 by navan · 0 comments
Owner

Originally created by @DeepMindAGI on 4/27/2023

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.

*Originally created by @DeepMindAGI on 4/27/2023* Traceback (most recent call last): File "/root/prog/wzp/DeepPurpose/MyWork/test.py", line 51, in <module> 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/DeepPurpose#20
No description provided.