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

conversion from numpy array to tensor #3

Open
bndav opened this issue Nov 6, 2024 · 0 comments
Open

conversion from numpy array to tensor #3

bndav opened this issue Nov 6, 2024 · 0 comments

Comments

@bndav
Copy link

bndav commented Nov 6, 2024

Hello,

To successfully use the program, I had to add the following line:
prottrans_feat = torch.from_numpy(prottrans_feat)

Before the line:
pre_computed_node_feat = torch.cat([prottrans_feat, dssp_feat], dim=-1)

In both files:
EC_number/data.py
Active_sites/data.py

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

1 participant