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

parameters are missing in the pretrained weights #124

Open
dingquanyu opened this issue May 25, 2023 · 4 comments
Open

parameters are missing in the pretrained weights #124

dingquanyu opened this issue May 25, 2023 · 4 comments

Comments

@dingquanyu
Copy link

dingquanyu commented May 25, 2023

Hi,

I've downloaded the pretrained weights and trying to run inference using the multimer.unifold.pt but it crashed because aux_heads.experimentally_resolved.linear.weight and aux_heads.experimentally_resolved.linear.bias are not in the state_dict. I tried both multimer_af2 and multimer_ft but both failed.

@dingquanyu dingquanyu changed the title aux_heads.experimentally_resolved.linear.weight and aux_heads.experimentally_resolved.linear.bias are missing in the pretrained weights parameters are missing in the pretrained weights May 25, 2023
@dingquanyu
Copy link
Author

Hi,

I've also tried the sourced codes from release 2.0.0 and 2.1.0 but still got the same error. In all cases I only run the run_unifold.sh using multimer.unifold.pt

@ZiyaoLi
Copy link
Member

ZiyaoLi commented Jun 7, 2023

I don't meet your error, but according to your error msg, you may manually close the experimentally resolved head in config.py. seems that your ckp is not trained with that head.

@dingquanyu
Copy link
Author

Hi,

Thanks but I didn't got this error from training. It occurred when I freshly cloned this repo and run run_unifold.sh without any modifications.

@ZiyaoLi
Copy link
Member

ZiyaoLi commented Jun 7, 2023

this seems unlikely as you reported the error using model name multimer_ft, but in multimer_ft we do not enable the experimentally resolved head. see

elif name == "multimer_ft":

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