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

hubconf.py 498 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  1. #!/usr/bin/env python3
  2. # -*- coding:utf-8 -*-
  3. """
  4. Usage example:
  5. import torch
  6. model = torch.hub.load("Megvii-BaseDetection/YOLOX", "yolox_s")
  7. model = torch.hub.load("Megvii-BaseDetection/YOLOX", "yolox_custom",
  8. exp_path="exp.py", ckpt_path="ckpt.pth")
  9. """
  10. dependencies = ["torch"]
  11. from yolox.models import ( # isort:skip # noqa: F401, E402
  12. yolox_tiny,
  13. yolox_nano,
  14. yolox_s,
  15. yolox_m,
  16. yolox_l,
  17. yolox_x,
  18. yolov3,
  19. yolox_custom
  20. )
Tip!

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

Comments

Loading...