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

Method _load_vit_model

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

Source from the content-addressed store, hash-verified

65 self.yolo_model = YOLO("yolo11m-seg.pt")
66
67 def _load_vit_model(self):
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")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected