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

Checkpoint #128

Open
dasbts opened this issue Feb 22, 2022 · 0 comments
Open

Checkpoint #128

dasbts opened this issue Feb 22, 2022 · 0 comments

Comments

@dasbts
Copy link

dasbts commented Feb 22, 2022

Hello,

Is it possible to add a checkpoint to continue running? I'm currently somewhere where Colab Pro is not possible, and I want to continue iterating.

I looked into the files and it seems like the OpenAI CLIP contains:
def load(name: str, device: Union[str, torch.device] = "cuda" if torch.cuda.is_available() else "cpu", jit=True):
"""Load a CLIP model

Parameters
----------
name : str
    A model name listed by `clip.available_models()`, or the path to a model checkpoint containing the state_dict 

If it's possible to make checkpoints, would this be a good place to do so?

Thanks in advance, amazing work on this Github.

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