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

openfold usage error #10

Open
Xinheng-He opened this issue Jul 3, 2024 · 3 comments
Open

openfold usage error #10

Xinheng-He opened this issue Jul 3, 2024 · 3 comments

Comments

@Xinheng-He
Copy link

image
Dear developers, I'm trying to use this package to do mutation and I've followed the install protocol. However, I meet this problem. I also found that in the openfold folder, no subfolder called data exists. Is there any solution?
Thanks.

@jozhang97
Copy link
Owner

Hi, sorry to hear about this issue. It turns out that I gitignored any data files.

I've updated the repo, Can you try reinstalling openfold?
Something like this (or a clean restart might be better)

git pull origin master
pip uninstall openfold
cd openfold
python3 setup.py install
cd ..

@Xinheng-He
Copy link
Author

Thanks for your reply and currently it works.
I still want to remind that if runing alphafold test protocol, it needs models/finetuning_ptm_2.pt. In the previous readme. md, such files only need to be downloaded during re-training. Maybe you can also remind the test users to download the .pt from openfold.
That's an amazing program and thanks again for your development.

@jozhang97
Copy link
Owner

Hi Xinheng,

Thanks for pointing that out. Alternatively, you can also comment out the models/finetuning_ptm_2.pt loading code located at

ckpt = torch.load(self.args.finetune_backbone, map_location='cpu')

self.backbone.load_state_dict(ckpt, strict=False)

I agree I should remind the users about this. Let me think what's the easiest way to do this.

Additionally, I updated the model checkpoint at https://utexas.box.com/s/y0hklxvgqt515pkztb305qnibcv0l0tq that fixed a small bug (README.md is up to date now). Were you able to use the latest one?

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