Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#614 Feature/sg 493 modelnames instead of strings

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-493_modelnames_instead_of_strings
@@ -4,7 +4,9 @@
 You can load any of our pretrained model in 2 lines of code:
 You can load any of our pretrained model in 2 lines of code:
 ```python
 ```python
 from super_gradients.training import models
 from super_gradients.training import models
-model = models.get("yolox_s", pretrained_weights="coco")
+from super_gradients.common.object_names import Models
+
+model = models.get(Models.YOLOX_S, pretrained_weights="coco")
 ```
 ```
 
 
 All the available models are listed in the column `Model name`.
 All the available models are listed in the column `Model name`.
Discard
Tip!

Press p or to see the previous file or, n or to see the next file