MCPcopy Create free account
hub / github.com/Vinyzu/recognizer / _load_vit_processor

Method _load_vit_processor

recognizer/components/detector.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 self.vit_model = CLIPModel.from_pretrained("flavour/CLIP-ViT-B-16-DataComp.XL-s13B-b90K")
69
70 def _load_vit_processor(self):
71 self.vit_processor = CLIPProcessor.from_pretrained("flavour/CLIP-ViT-B-16-DataComp.XL-s13B-b90K")
72
73 def _load_seg_model(self):
74 self.seg_model = CLIPSegForImageSegmentation.from_pretrained("CIDAS/clipseg-rd64-refined")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected