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

ERROR: failed to load model #37

Open
zbekkhozhin opened this issue May 21, 2024 · 0 comments
Open

ERROR: failed to load model #37

zbekkhozhin opened this issue May 21, 2024 · 0 comments

Comments

@zbekkhozhin
Copy link

zbekkhozhin commented May 21, 2024

In the README, it is written to use:

cd network
wget https://files.ipd.uw.edu/dimaio/RF2_jan24.tgz
tar xvfz RF2_jan24.tgz
cd ..

But in the run_RF2.sh file, there is:

python $PIPEDIR/network/predict.py \
    -inputs $argstring \
    -prefix $WDIR/models/model \
    -model $PIPEDIR/network/weights/RF2_apr23.pt \
    -db $HHDB \
    -symm $symm #2> $WDIR/log/network.stderr 1> $WDIR/

You can see that the namings do not match, the weights are inside a subdirectory and named differently and are actually themselves different. So use

cd network
wget https://files.ipd.uw.edu/dimaio/RF2_apr23.tgz
tar xvfz RF2_apr23.tgz
cd ..

instead. This will place the model weights into a correct folder from which RoseTTAFold2 can read in the model weights

There are some angry comments about the code being a train wreck, and we all understand that developers have to spend an immense amount of effort to maintain their code with all things getting updated and those dependencies ruining everyone's lifes, so these tiny mistakes in the wget might get past your eyes.

And the model inference on a gpu is super fast, cheers! Although the backbone in the unstructured regions has very strange geometry, the peptide bonds appear too long sometimes

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