Computer Vision, AI, Transformers, Machine Learning, Open Source.
fiftyone.zoo as foz model_type = "zero-shot-detection-transformer-torch" name_or_path = "google/owlvit-base-patch32" ## <- Owl-ViT ## load model model = foz.load_zoo_model(model_type, name_or_path=name_or_path) ## can set classes at any time model.classes = ["cat", "dog", "bird", "cow", "horse",