MCPcopy
hub / github.com/mlfoundations/open_clip / _slpcfg

Function _slpcfg

src/open_clip/pretrained.py:53–63  ·  view source on GitHub ↗
(url='', hf_hub='', **kwargs)

Source from the content-addressed store, hash-verified

51
52
53def _slpcfg(url='', hf_hub='', **kwargs):
54 # SiGLIP defaults
55 return {
56 'url': url,
57 'hf_hub': hf_hub,
58 'mean': INCEPTION_MEAN,
59 'std': INCEPTION_STD,
60 'interpolation': 'bicubic',
61 'resize_mode': 'squash',
62 **kwargs,
63 }
64
65
66def _apcfg(url='', hf_hub='', **kwargs):

Callers 1

pretrained.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected