Change to use F-string (#2531)
* Change .format to f-string * Resolve comments * Fix missing change
Showing
- mmdet/apis/inference.py 1 addition, 1 deletionmmdet/apis/inference.py
- mmdet/apis/test.py 2 additions, 2 deletionsmmdet/apis/test.py
- mmdet/apis/train.py 1 addition, 2 deletionsmmdet/apis/train.py
- mmdet/core/anchor/anchor_generator.py 33 additions, 35 deletionsmmdet/core/anchor/anchor_generator.py
- mmdet/core/bbox/assigners/assign_result.py 8 additions, 9 deletionsmmdet/core/bbox/assigners/assign_result.py
- mmdet/core/bbox/iou_calculators/iou2d_calculator.py 1 addition, 2 deletionsmmdet/core/bbox/iou_calculators/iou2d_calculator.py
- mmdet/core/bbox/samplers/sampling_result.py 4 additions, 4 deletionsmmdet/core/bbox/samplers/sampling_result.py
- mmdet/core/evaluation/class_names.py 2 additions, 2 deletionsmmdet/core/evaluation/class_names.py
- mmdet/core/evaluation/eval_hooks.py 4 additions, 6 deletionsmmdet/core/evaluation/eval_hooks.py
- mmdet/core/evaluation/mean_ap.py 3 additions, 3 deletionsmmdet/core/evaluation/mean_ap.py
- mmdet/core/evaluation/recall.py 1 addition, 4 deletionsmmdet/core/evaluation/recall.py
- mmdet/core/mask/structures.py 7 additions, 8 deletionsmmdet/core/mask/structures.py
- mmdet/core/optimizer/default_constructor.py 5 additions, 7 deletionsmmdet/core/optimizer/default_constructor.py
- mmdet/datasets/cityscapes.py 7 additions, 11 deletionsmmdet/datasets/cityscapes.py
- mmdet/datasets/coco.py 18 additions, 22 deletionsmmdet/datasets/coco.py
- mmdet/datasets/custom.py 4 additions, 6 deletionsmmdet/datasets/custom.py
- mmdet/datasets/pipelines/compose.py 1 addition, 1 deletionmmdet/datasets/pipelines/compose.py
- mmdet/datasets/pipelines/formating.py 9 additions, 10 deletionsmmdet/datasets/pipelines/formating.py
- mmdet/datasets/pipelines/instaboost.py 1 addition, 1 deletionmmdet/datasets/pipelines/instaboost.py
- mmdet/datasets/pipelines/loading.py 11 additions, 10 deletionsmmdet/datasets/pipelines/loading.py
Loading
Please register or sign in to comment