eikor / instructplm Goto Github PK
View Code? Open in Web Editor NEWThe first large protein language model trained follows structure instructions.
License: Apache License 2.0
The first large protein language model trained follows structure instructions.
License: Apache License 2.0
I'm getting the following RuntimeError when trying to run 'python structure_embeddings/preprocess.py'.
Traceback (most recent call last): File "structure_embeddings/preprocess.py", line 316, in <module> write_pyd() File "structure_embeddings/preprocess.py", line 312, in write_pyd record = process_mpnn_embedding_fn(record) File "structure_embeddings/preprocess.py", line 167, in process_mpnn_embedding_fn sample["mpnn_emb"] = mpnn_emb1.view(-1, 1152).cpu() RuntimeError: shape '[-1, 1152]' is invalid for input of size 49896
The issue seems to stem from the dimensions of mpnn_emb1
. For the file Fast-PETase.pdb
, the dimension of mpnn_emb11
is torch.Size([1, 264, 21]). mpnn_emb1
concatenates the output of 9 models, resulting in a dimension of torch.Size([1, 264, 189]). The error arises when executing sample["mpnn_emb"] = mpnn_emb1.view(-1, 1152).cpu()
, as the dimension is not an integral multiple of 1152.
Will you provide the adapter or training code in the future?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.