yolox_tiny.py 496 B

12345678910111213141516171819
  1. #!/usr/bin/env python3
  2. # -*- coding:utf-8 -*-
  3. # Copyright (c) Megvii, Inc. and its affiliates.
  4. import os
  5. from yolox.exp import Exp as MyExp
  6. class Exp(MyExp):
  7. def __init__(self):
  8. super(Exp, self).__init__()
  9. self.depth = 0.33
  10. self.width = 0.375
  11. self.scale = (0.5, 1.5)
  12. self.random_size = (10, 20)
  13. self.test_size = (416, 416)
  14. self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]
  15. self.enable_mixup = False