MCPcopy Index your code
hub / github.com/microsoft/Cream / load_exp

Function load_exp

TinyCLIP/src/open_clip/factory.py:227–230  ·  view source on GitHub ↗
(name, device='cpu')

Source from the content-addressed store, hash-verified

225
226
227def load_exp(name, device='cpu'):
228 assert '@' in name
229 teacher_model_name, teacher_pretrained = name.split('@')
230 return create_model_and_transforms(teacher_model_name, pretrained=teacher_pretrained)
231
232
233def load_model(name, device='cpu'):

Callers 1

load_modelFunction · 0.85

Calls 1

Tested by

no test coverage detected