Closed dmarx closed 2 years ago
to facilitate loading preprocessor/tokenizer more naturally
ldr = REGISTRY.find(id='my-model") clip = MockClipModule(ldr) tokenizer = clip.tokenize model, preprocess_image = clip.load('my-model')
to facilitate loading preprocessor/tokenizer more naturally