From e765ba8d2516956f25993033fa1645e934a95873 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Fri, 28 Feb 2020 21:54:00 +0800 Subject: [PATCH] fix weights path (#274) --- configs/cascade_mask_rcnn_r50_fpn_1x.yml | 2 +- configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x.yml | 2 +- .../dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x_ms_test.yml | 2 +- configs/dcn/mask_rcnn_dcn_r50_fpn_1x.yml | 2 +- configs/dcn/mask_rcnn_dcn_r50_vd_fpn_2x.yml | 2 +- configs/face_detection/blazeface.yml | 2 +- configs/face_detection/blazeface_nas.yml | 2 +- configs/face_detection/blazeface_nas_v2.yml | 2 +- configs/face_detection/faceboxes.yml | 2 +- configs/face_detection/faceboxes_lite.yml | 2 +- configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x.yml | 2 +- configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x.yml | 2 +- configs/gn/cascade_mask_rcnn_r50_fpn_gn_2x.yml | 2 +- configs/gn/mask_rcnn_r50_fpn_gn_2x.yml | 2 +- configs/mask_rcnn_r101_fpn_1x.yml | 2 +- configs/mask_rcnn_r50_2x.yml | 2 +- configs/mask_rcnn_r50_fpn_1x.yml | 2 +- configs/mask_rcnn_r50_fpn_2x.yml | 2 +- configs/mask_rcnn_r50_vd_fpn_2x.yml | 2 +- configs/mask_rcnn_se154_vd_fpn_s1x.yml | 2 +- configs/res2net/mask_rcnn_res2net50_vb_26w_4s_fpn_2x.yml | 2 +- configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_2x.yml | 2 +- configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x.yml | 2 +- configs/ssd/ssd_mobilenet_v1_voc.yml | 2 +- configs/ssd/ssd_vgg16_300_voc.yml | 2 +- configs/ssd/ssd_vgg16_512_voc.yml | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) diff --git a/configs/cascade_mask_rcnn_r50_fpn_1x.yml b/configs/cascade_mask_rcnn_r50_fpn_1x.yml index 84bda4a2e..b9e1fc356 100644 --- a/configs/cascade_mask_rcnn_r50_fpn_1x.yml +++ b/configs/cascade_mask_rcnn_r50_fpn_1x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar metric: COCO -weights: output/cascade_mask_rcnn_r50_fpn_1x/model_final/ +weights: output/cascade_mask_rcnn_r50_fpn_1x/model_final num_classes: 81 CascadeMaskRCNN: diff --git a/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x.yml b/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x.yml index d92c2d9f4..429ef0865 100755 --- a/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x.yml +++ b/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x.yml @@ -6,7 +6,7 @@ log_iter: 20 log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/SENet154_vd_caffe_pretrained.tar -weights: output/cascade_mask_rcnn_dcn_se154_vd_fpn_gn_s1x/model_final/ +weights: output/cascade_mask_rcnn_dcn_se154_vd_fpn_gn_s1x/model_final metric: COCO num_classes: 81 diff --git a/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x_ms_test.yml b/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x_ms_test.yml index b1d5d497e..b394958a4 100644 --- a/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x_ms_test.yml +++ b/configs/dcn/cascade_mask_rcnn_dcnv2_se154_vd_fpn_gn_s1x_ms_test.yml @@ -6,7 +6,7 @@ log_iter: 20 log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/SENet154_vd_caffe_pretrained.tar -weights: output/cascade_mask_rcnn_dcn_se154_vd_fpn_gn_s1x/model_final/ +weights: output/cascade_mask_rcnn_dcn_se154_vd_fpn_gn_s1x/model_final metric: COCO num_classes: 81 diff --git a/configs/dcn/mask_rcnn_dcn_r50_fpn_1x.yml b/configs/dcn/mask_rcnn_dcn_r50_fpn_1x.yml index f0609a148..bc99a18dd 100644 --- a/configs/dcn/mask_rcnn_dcn_r50_fpn_1x.yml +++ b/configs/dcn/mask_rcnn_dcn_r50_fpn_1x.yml @@ -7,7 +7,7 @@ log_iter: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar metric: COCO -weights: output/mask_rcnn_dcn_r50_fpn_1x/model_final/ +weights: output/mask_rcnn_dcn_r50_fpn_1x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/dcn/mask_rcnn_dcn_r50_vd_fpn_2x.yml b/configs/dcn/mask_rcnn_dcn_r50_vd_fpn_2x.yml index a03ac725a..6fac18373 100644 --- a/configs/dcn/mask_rcnn_dcn_r50_vd_fpn_2x.yml +++ b/configs/dcn/mask_rcnn_dcn_r50_vd_fpn_2x.yml @@ -7,7 +7,7 @@ log_iter: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_pretrained.tar metric: COCO -weights: output/mask_rcnn_dcn_r50_vd_fpn_2x/model_final/ +weights: output/mask_rcnn_dcn_r50_vd_fpn_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/face_detection/blazeface.yml b/configs/face_detection/blazeface.yml index 53c6c993a..c52478690 100644 --- a/configs/face_detection/blazeface.yml +++ b/configs/face_detection/blazeface.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 log_iter: 20 metric: WIDERFACE save_dir: output -weights: output/blazeface/model_final/ +weights: output/blazeface/model_final # 1(label_class) + 1(background) num_classes: 2 diff --git a/configs/face_detection/blazeface_nas.yml b/configs/face_detection/blazeface_nas.yml index b0d3d23b4..8f7b42170 100644 --- a/configs/face_detection/blazeface_nas.yml +++ b/configs/face_detection/blazeface_nas.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 log_iter: 20 metric: WIDERFACE save_dir: output -weights: output/blazeface_nas/model_final/ +weights: output/blazeface_nas/model_final # 1(label_class) + 1(background) num_classes: 2 diff --git a/configs/face_detection/blazeface_nas_v2.yml b/configs/face_detection/blazeface_nas_v2.yml index aba386f4a..e1d604752 100644 --- a/configs/face_detection/blazeface_nas_v2.yml +++ b/configs/face_detection/blazeface_nas_v2.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 log_iter: 20 metric: WIDERFACE save_dir: output -weights: output/blazeface_nas/model_final/ +weights: output/blazeface_nas/model_final # 1(label_class) + 1(background) num_classes: 2 diff --git a/configs/face_detection/faceboxes.yml b/configs/face_detection/faceboxes.yml index 226366146..92b0a39b2 100644 --- a/configs/face_detection/faceboxes.yml +++ b/configs/face_detection/faceboxes.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 log_iter: 20 metric: WIDERFACE save_dir: output -weights: output/faceboxes/model_final/ +weights: output/faceboxes/model_final # 1(label_class) + 1(background) num_classes: 2 diff --git a/configs/face_detection/faceboxes_lite.yml b/configs/face_detection/faceboxes_lite.yml index 1f126de69..fd346eb1d 100644 --- a/configs/face_detection/faceboxes_lite.yml +++ b/configs/face_detection/faceboxes_lite.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 log_iter: 20 metric: WIDERFACE save_dir: output -weights: output/faceboxes_lite/model_final/ +weights: output/faceboxes_lite/model_final # 1(label_class) + 1(background) num_classes: 2 diff --git a/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x.yml b/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x.yml index f053deeef..cf4da3d7c 100644 --- a/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x.yml +++ b/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_pretrained.tar metric: COCO -weights: output/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x/model_final/ +weights: output/mask_rcnn_r50_vd_fpn_gcb_add_r16_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x.yml b/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x.yml index 7eea2b4b0..29be2602d 100644 --- a/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x.yml +++ b/configs/gcnet/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_pretrained.tar metric: COCO -weights: output/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x/model_final/ +weights: output/mask_rcnn_r50_vd_fpn_gcb_mul_r16_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/gn/cascade_mask_rcnn_r50_fpn_gn_2x.yml b/configs/gn/cascade_mask_rcnn_r50_fpn_gn_2x.yml index 3906a14d1..0bc6a882e 100644 --- a/configs/gn/cascade_mask_rcnn_r50_fpn_gn_2x.yml +++ b/configs/gn/cascade_mask_rcnn_r50_fpn_gn_2x.yml @@ -5,7 +5,7 @@ use_gpu: true log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar -weights: output/cascade_mask_rcnn_r50_fpn_gn_2x/model_final/ +weights: output/cascade_mask_rcnn_r50_fpn_gn_2x/model_final metric: COCO num_classes: 81 diff --git a/configs/gn/mask_rcnn_r50_fpn_gn_2x.yml b/configs/gn/mask_rcnn_r50_fpn_gn_2x.yml index 3907705e6..0a3491a58 100644 --- a/configs/gn/mask_rcnn_r50_fpn_gn_2x.yml +++ b/configs/gn/mask_rcnn_r50_fpn_gn_2x.yml @@ -5,7 +5,7 @@ use_gpu: true log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar -weights: output/mask_rcnn_r50_fpn_gn_2x/model_final/ +weights: output/mask_rcnn_r50_fpn_gn_2x/model_final metric: COCO num_classes: 81 diff --git a/configs/mask_rcnn_r101_fpn_1x.yml b/configs/mask_rcnn_r101_fpn_1x.yml index 49930daa2..11701688d 100644 --- a/configs/mask_rcnn_r101_fpn_1x.yml +++ b/configs/mask_rcnn_r101_fpn_1x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet101_pretrained.tar metric: COCO -weights: output/mask_rcnn_r101_fpn_1x/model_final/ +weights: output/mask_rcnn_r101_fpn_1x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/mask_rcnn_r50_2x.yml b/configs/mask_rcnn_r50_2x.yml index 70bfd0cbb..7807bc674 100644 --- a/configs/mask_rcnn_r50_2x.yml +++ b/configs/mask_rcnn_r50_2x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar metric: COCO -weights: output/mask_rcnn_r50_2x/model_final/ +weights: output/mask_rcnn_r50_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/mask_rcnn_r50_fpn_1x.yml b/configs/mask_rcnn_r50_fpn_1x.yml index 2e6d37e9a..db90b7fab 100644 --- a/configs/mask_rcnn_r50_fpn_1x.yml +++ b/configs/mask_rcnn_r50_fpn_1x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar metric: COCO -weights: output/mask_rcnn_r50_fpn_1x/model_final/ +weights: output/mask_rcnn_r50_fpn_1x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/mask_rcnn_r50_fpn_2x.yml b/configs/mask_rcnn_r50_fpn_2x.yml index 4a3355d7d..632a96686 100644 --- a/configs/mask_rcnn_r50_fpn_2x.yml +++ b/configs/mask_rcnn_r50_fpn_2x.yml @@ -5,7 +5,7 @@ use_gpu: true log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_cos_pretrained.tar -weights: output/mask_rcnn_r50_fpn_2x/model_final/ +weights: output/mask_rcnn_r50_fpn_2x/model_final metric: COCO num_classes: 81 diff --git a/configs/mask_rcnn_r50_vd_fpn_2x.yml b/configs/mask_rcnn_r50_vd_fpn_2x.yml index 8bf799377..d0c3c9e17 100644 --- a/configs/mask_rcnn_r50_vd_fpn_2x.yml +++ b/configs/mask_rcnn_r50_vd_fpn_2x.yml @@ -6,7 +6,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_pretrained.tar metric: COCO -weights: output/mask_rcnn_r50_vd_fpn_2x/model_final/ +weights: output/mask_rcnn_r50_vd_fpn_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/mask_rcnn_se154_vd_fpn_s1x.yml b/configs/mask_rcnn_se154_vd_fpn_s1x.yml index 77c8b7725..4f04ac295 100644 --- a/configs/mask_rcnn_se154_vd_fpn_s1x.yml +++ b/configs/mask_rcnn_se154_vd_fpn_s1x.yml @@ -5,7 +5,7 @@ use_gpu: true log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/SENet154_vd_pretrained.tar -weights: output/mask_rcnn_se154_vd_fpn_s1x/model_final/ +weights: output/mask_rcnn_se154_vd_fpn_s1x/model_final metric: COCO num_classes: 81 diff --git a/configs/res2net/mask_rcnn_res2net50_vb_26w_4s_fpn_2x.yml b/configs/res2net/mask_rcnn_res2net50_vb_26w_4s_fpn_2x.yml index 5703e164a..b4760b32e 100644 --- a/configs/res2net/mask_rcnn_res2net50_vb_26w_4s_fpn_2x.yml +++ b/configs/res2net/mask_rcnn_res2net50_vb_26w_4s_fpn_2x.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/Res2Net50_26w_4s_pretrained.tar metric: COCO -weights: output/mask_rcnn_res2net50_vb_26w_4s_fpn_2x/model_final/ +weights: output/mask_rcnn_res2net50_vb_26w_4s_fpn_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_2x.yml b/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_2x.yml index c2cdf1de8..94dd1e464 100644 --- a/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_2x.yml +++ b/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_2x.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/Res2Net50_vd_26w_4s_pretrained.tar metric: COCO -weights: output/mask_rcnn_res2net50_vd_26w_4s_fpn_2x/model_final/ +weights: output/mask_rcnn_res2net50_vd_26w_4s_fpn_2x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x.yml b/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x.yml index f637055b6..b8e5078f0 100644 --- a/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x.yml +++ b/configs/res2net/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x.yml @@ -7,7 +7,7 @@ log_smooth_window: 20 save_dir: output pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/Res2Net50_vd_26w_4s_pretrained.tar metric: COCO -weights: output/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x/model_final/ +weights: output/mask_rcnn_res2net50_vd_26w_4s_fpn_dcnv2_1x/model_final num_classes: 81 MaskRCNN: diff --git a/configs/ssd/ssd_mobilenet_v1_voc.yml b/configs/ssd/ssd_mobilenet_v1_voc.yml index b0d22730e..6d727adfb 100644 --- a/configs/ssd/ssd_mobilenet_v1_voc.yml +++ b/configs/ssd/ssd_mobilenet_v1_voc.yml @@ -7,7 +7,7 @@ log_smooth_window: 1 metric: VOC map_type: 11point save_dir: output -weights: output/ssd_mobilenet_v1_voc/model_final/ +weights: output/ssd_mobilenet_v1_voc/model_final # 20(label_class) + 1(background) num_classes: 21 diff --git a/configs/ssd/ssd_vgg16_300_voc.yml b/configs/ssd/ssd_vgg16_300_voc.yml index 75944286c..18d6bc3b8 100644 --- a/configs/ssd/ssd_vgg16_300_voc.yml +++ b/configs/ssd/ssd_vgg16_300_voc.yml @@ -8,7 +8,7 @@ metric: VOC map_type: 11point pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/VGG16_caffe_pretrained.tar save_dir: output -weights: output/ssd_vgg16_300_voc/model_final/ +weights: output/ssd_vgg16_300_voc/model_final # 20(label_class) + 1(background) num_classes: 21 diff --git a/configs/ssd/ssd_vgg16_512_voc.yml b/configs/ssd/ssd_vgg16_512_voc.yml index dc567de7c..c3224129f 100644 --- a/configs/ssd/ssd_vgg16_512_voc.yml +++ b/configs/ssd/ssd_vgg16_512_voc.yml @@ -8,7 +8,7 @@ metric: VOC map_type: 11point pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/VGG16_caffe_pretrained.tar save_dir: output -weights: output/ssd_vgg16_512_voc/model_final/ +weights: output/ssd_vgg16_512_voc/model_final # 20(label_class) + 1(background) num_classes: 21 -- GitLab