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

Something wrong when run infer.py #2

Closed
Xelawk opened this issue Nov 8, 2022 · 1 comment
Closed

Something wrong when run infer.py #2

Xelawk opened this issue Nov 8, 2022 · 1 comment

Comments

@Xelawk
Copy link

Xelawk commented Nov 8, 2022

python infer.py
Traceback (most recent call last):
...
...
load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Generator:
        Unexpected key(s) in state_dict: "CvT6.conv.bias", "CvT7.conv.bias", "CvT8.conv.bias", "CvT9.conv.bias", "CvT10.conv.bias", "CvT11.conv.bias".

pretrained models were download by this link

@xuhangc
Copy link
Collaborator

xuhangc commented Jan 11, 2023

Sorry for my late reply.
I don't think this pretrained model matches with my implementation. You can retrain and get a new model instead.

@xuhangc xuhangc closed this as completed Jan 11, 2023
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