From a5b54f2b53f1ab8ea1452669cb0cb1930a4bdfd7 Mon Sep 17 00:00:00 2001 From: JEFFREY ZHANG Date: Fri, 29 Oct 2021 15:07:14 -0500 Subject: [PATCH] UVO detection running python -m tools.test \ configs_uvo_det/uvo/swin_l_carafe_simota_focal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py \ checkpoints/swin_l_pretrained_on_coco.pth \ --format-only --out /tmp/uvo/foo.pkl \ --show-dir /tmp/uvo/vis --- ...cal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configs_uvo_det/uvo/swin_l_carafe_simota_focal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py b/configs_uvo_det/uvo/swin_l_carafe_simota_focal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py index 74f4841120e..a44fdc6d49c 100644 --- a/configs_uvo_det/uvo/swin_l_carafe_simota_focal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py +++ b/configs_uvo_det/uvo/swin_l_carafe_simota_focal_giou_iouhead_tower_dcn_coco_384_uvo_finetune.py @@ -18,7 +18,7 @@ out_indices=(0, 1, 2, 3), with_cp=False, convert_weights=True, - load_like_mmseg=True, + #load_like_mmseg=True, init_cfg=dict(type='Pretrained', checkpoint=pretrained)), neck=dict( type='FPN_CARAFE', @@ -215,13 +215,13 @@ ], val=dict( type=dataset_type, - ann_file=data_root + 'annotations/UVO_frame_val.json', - img_prefix=data_root + 'uvo_videos_sparse_frames/', + ann_file=data_root + 'annotations/UVO_video_val_dense_liketao.json', + img_prefix=data_root + 'uvo_videos_dense_frames/', ), test=dict( type=dataset_type, - ann_file=data_root + 'annotations/UVO_frame_val.json', - img_prefix=data_root + 'uvo_videos_sparse_frames/', + ann_file=data_root + 'annotations/UVO_video_val_dense_liketao.json', + img_prefix=data_root + 'uvo_videos_dense_frames/', )) optimizer = dict( _delete_=True,