CLIP
CLIP copied to clipboard
[Question] How to get/output the name of an initialized CLIP model?
I have several models going, and display some information about them as the process runs, but I'd like to indicate which model the information is coming from. However, I don't see a way to print the name of an initialized CLIP model (like "ViT-B/16"). Is there a way to do this or should I track them separately?
Thanks!
If say you have: model = CLIPModel.from_pretrained(model_ID).to(device) then initialized CLIP model will be determined by:
model.config