Understand Training and Testing Image Size Hyperparameters
mainYOLOX uses specific hyperparameters to control image dimensions during training and testing.
Training Hyperparameters:
self.input_size: A tuple(height, width)representing the base training size. It is recommended to set this to the same value asself.test_size. Default is(640, 640)for most models, or(416, 416)foryolox-tinyandyolox-nano.self.multiscale_range: An integer that determines the range of scales used during multi-scale training.self.random_size: A tuple(min_scale, max_scale)used to define a specific scale range when multi-scale training is configured with explicit bounds.
Testing Hyperparameter:
self.test_size: A tuple(height, width)representing the image size used during inference/testing.