From 0978885e212b4bfab2df017ea9ffc5b46489a2f0 Mon Sep 17 00:00:00 2001 From: Wenyu Date: Tue, 4 Jan 2022 15:10:02 +0800 Subject: [PATCH] update test keep ratio same as eval (#5052) --- configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml b/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml index 956551c1d..396462a2f 100644 --- a/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml +++ b/configs/faster_rcnn/_base_/faster_rcnn_swin_reader.yml @@ -33,7 +33,7 @@ TestReader: image_shape: [1, 3, 640, 640] sample_transforms: - Decode: {} - - Resize: {interp: 2, target_size: [640, 640], keep_ratio: False} + - Resize: {interp: 2, target_size: [640, 640], keep_ratio: True} - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]} - Permute: {} batch_transforms: -- GitLab