docker-compose up --build -d && docker exec -it detectron2_header_1.0v bash.
In run.pyand tta.py file, you can change Hyperparameters of TTA.
args.TTA must be False.
Flip the image horizontally.
In run.py, Hyperparameter args.TTA must be True.
In tta.py, Hyperparameter _flip set to True.
Resize the given size.
Number of input image for TTA are 10 => (9 images are resized, 1 image is original size)
In run.py, Hyperparameter args.TTA must be True.
In tta.py, Hyperparameter _multi_scale set by list.
In run.py, Hyperparameter args.TTA must be True.
In tta.py, Hyperparameter _contrast set to True.
Contrast intensity is uniformly sampled in (intensity_min, intensity_max).
- intensity < 1 will reduce contrast
- intensity = 1 will preserve the input image
- intensity > 1 will increase contrast
After setting TTA parameters.
Run python run.py.
Or check a log which located in /home/src/model/log.txt.
flip = True
multi_scale = [400, 600, 800, 1000]
contrast = [ ]
baseline AP: 40.2161
best AP: 41.6996