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

erorr about load ckpt #66

Open
ghost opened this issue Aug 26, 2021 · 0 comments
Open

erorr about load ckpt #66

ghost opened this issue Aug 26, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2021

    resnet = models.resnet50(pretrained=False)
    cfg = dict(
        net=resnet,
        image_size=224,
        hidden_layer='avgpool',
        projeion_size=256,
        projection_hidden_size=4096,
        moving_average_decay=0.99
    )
    model_C = SelfSupervisedLearner.load_from_checkpoint('./epoch=4-step=269.ckpt', **cfg)

👆this is my code. But I got this issue:

TypeError: init() got an unexpected keyword argument 'projeion_size'.

Do you know what happen?

@ghost ghost changed the title erorr about training example of train.py erorr about load ckpt Aug 26, 2021
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

0 participants