Skip to content

Commit

Permalink
UVO detection running
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jozhang97 committed Oct 29, 2021
1 parent c7d15dc commit a5b54f2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a5b54f2

Please sign in to comment.