5 ms·
I don't see a simple way to load a model locally, am I missing something? I see you recommending roboflow universe in the comments, is there any way to downloa
by anhner 3y ago
I don't see a simple way to load a model locally, am I missing something?
I see you recommending roboflow universe in the comments, is there any way to download those models and running them locally? Or is an API key always required?
- SkalskiP 3y agoHi! Supervision does not run models, but it connects to existing detection and segmentation libraries, allowing you to do more advanced stuff easily. Take a look here to get a high-level overview: https://supervision.roboflow.com/latest/how_to/detect_and_annotate/ https://supervision.roboflow.com/latest/how_to/detect_and_an.... As for Roboflow, you can use the `inference` package to run (among other things) all Roboflow Universe models locally. Take a look at README examples: https://github.com/roboflow/inference https://github.com/roboflow/inference.
- anhner 3y agoThank you!
- yeldarb 3y agoYeah, inference[1] is our open source package for running locally (either directly in Python or via a Docker container). It works with all the models on Universe, models you train yourself (assuming we support the architecture; we have a bunch of notebooks available[2]), or train in our platform, plus several more general foundation models[3] (for things like embeddings, zero-shot detection, question answering, OCR, etc). We also have a hosted API[4] you can hit for most models we support (except some of the large vision models that are really GPU-heavy) if you prefer. [1] https://github.com/roboflow/inference https://github.com/roboflow/inference [2] https://github.com/roboflow/notebooks https://github.com/roboflow/notebooks [3] https://inference.roboflow.com/foundation/about/ https://inference.roboflow.com/foundation/about/ [4] https://docs.roboflow.com/deploy/hosted-api https://docs.roboflow.com/deploy/hosted-api
- anhner 3y agoAppreciate the explanation and links, thanks.