Save clip models to local directory?
See original GitHub issueIt looks like the clip models are stored in a cache on the local machine which works for most use cases; however if we use google colab it basically redownloads them each time when you reopen the notebook.
Is there a way to save them in a folder and then load them from there? Not sure if this is possible in progrock?
I also have gpu’s that I load stuff into remotely; which means they have to download the clip models over and over. The dd finetune model is in a folder. Can the clip models be loaded from a folder, not cache?
"RN50": "https://openaipublic.azureedge.net/clip/models/afeb0e10f9e5a86da6080e35cf09123aca3b358a0c3e3b6c78a7b63bc04b6762/RN50.pt",
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
I want to copy my custom settings for Clip Studio Paint to ...
You can manually copy the settings and material data customized in Clip Studio Paint folder by folder to another computer. This page will...
Read more >Save and load models | TensorFlow Core
There are different ways to save TensorFlow models depending on the API you're using. This guide uses tf.keras—a high-level API to build and ......
Read more >How to Save and Load Models in PyTorch - Wandb
This article is a tutorial that covers how to correctly save and load your trained machine learning models in PyTorch using Weights &...
Read more >Saving and Loading Models (Coding TensorFlow) - YouTube
Training models can take a very long time, and you definitely don't want to have to retrain everything over a single mishap.
Read more >Where is the file that is saved by model.save() command
Model will saved in the current directory and the model will overwrite the oldone when saving the same model with same name.if you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should have it checked in later today, just testing a few other things first
Probably should file an issue with them asking to support the download_root option ala CLIP, instead of relying soley on a hardcoded directory.
By the way I am probably going to make changing the directory an option in PRD, rather than the default. While I understand your use case, I’ve already discovered it’s not ideal to have to have copies of all the CLIP models in every directory I have for PRD, rather than all of them sharing one cache directory. I usually have 2 or 3 PRD directories I use for various reasons (testing new stuff, testing the current version, testing old versions), plus several other tools I’ve written that also use CLIP, and now I’m having to copy the models folder to every one of them. I know others who use PRD as well as Disco and other versions of Disco on their local machine who appreciate the shared models, too.