__init__.py 694 B

123456789101112131415161718192021222324252627282930
  1. # Ultralytics YOLO 🚀, AGPL-3.0 license
  2. __version__ = "8.2.50"
  3. import os
  4. # Set ENV Variables (place before imports)
  5. os.environ["OMP_NUM_THREADS"] = "1" # reduce CPU utilization during training
  6. from ultralytics.data.explorer.explorer import Explorer
  7. from ultralytics.models import NAS, RTDETR, SAM, YOLO, FastSAM, YOLOWorld
  8. from ultralytics.utils import ASSETS, SETTINGS
  9. from ultralytics.utils.checks import check_yolo as checks
  10. from ultralytics.utils.downloads import download
  11. settings = SETTINGS
  12. __all__ = (
  13. "__version__",
  14. "ASSETS",
  15. "YOLO",
  16. "YOLOWorld",
  17. "NAS",
  18. "SAM",
  19. "FastSAM",
  20. "RTDETR",
  21. "checks",
  22. "download",
  23. "settings",
  24. "Explorer",
  25. )