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

#842 fixed version

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:bugfix/SG-000_fix_version
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. from super_gradients.common.object_names import Models
  2. from super_gradients.training import models
  3. # Note that currently only YoloX and PPYoloE are supported.
  4. model = models.get(Models.PP_YOLOE_S, pretrained_weights="coco")
  5. IMAGES = [
  6. "../../../../documentation/source/images/examples/countryside.jpg",
  7. "../../../../documentation/source/images/examples/street_busy.jpg",
  8. "https://cdn-attachments.timesofmalta.com/cc1eceadde40d2940bc5dd20692901371622153217-1301777007-4d978a6f-620x348.jpg",
  9. ]
  10. prediction = model.predict(IMAGES)
  11. prediction.show()
Discard
Tip!

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