Skip to content

Commit 8ff889a

Browse files
authored
[Fix] Fix multisports dataset detection (#2584)
1 parent 4fee8c2 commit 8ff889a

File tree

32 files changed

+387
-444
lines changed

32 files changed

+387
-444
lines changed

configs/detection/acrn/slowfast-acrn_kinetics400-pretrained-r50_8xb8-8x8x1-cosine-10e_ava21-rgb.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
shared_head=dict(type='ACRNHead', in_channels=4608, out_channels=2304),
4747
bbox_head=dict(
4848
type='BBoxHeadAVA',
49+
background_class=True,
4950
in_channels=2304,
5051
num_classes=81,
5152
multilabel=True,
@@ -88,9 +89,6 @@
8889
proposal_file_val = f'{anno_root}/ava_dense_proposals_val.FAIR.recall_93.9.pkl'
8990

9091
file_client_args = dict(io_backend='disk')
91-
file_client_args = dict(
92-
io_backend='petrel',
93-
path_mapping=dict({'data/ava': 's254:s3://openmmlab/datasets/action/ava'}))
9492
train_pipeline = [
9593
dict(type='SampleAVAFrames', clip_len=32, frame_interval=2),
9694
dict(type='RawFrameDecode', **file_client_args),

configs/detection/acrn/slowfast-acrn_kinetics400-pretrained-r50_8xb8-8x8x1-cosine-10e_ava22-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
shared_head=dict(type='ACRNHead', in_channels=4608, out_channels=2304),
4747
bbox_head=dict(
4848
type='BBoxHeadAVA',
49+
background_class=True,
4950
in_channels=2304,
5051
num_classes=81,
5152
multilabel=True,

configs/detection/lfb/slowonly-lfb-infer_r50_ava21-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
with_temporal_pool=True),
3535
bbox_head=dict(
3636
type='BBoxHeadAVA',
37+
background_class=True,
3738
in_channels=2048,
3839
num_classes=81,
3940
multilabel=True,

configs/detection/lfb/slowonly-lfb-nl_kinetics400-pretrained-r50_8xb12-4x16x1-20e_ava21-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
with_temporal_pool=True),
3838
bbox_head=dict(
3939
type='BBoxHeadAVA',
40+
background_class=True,
4041
in_channels=2560,
4142
num_classes=81,
4243
multilabel=True,

configs/detection/lfb/slowonly-lfb_ava-pretrained-r50_infer-4x16x1_ava21-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
with_temporal_pool=True),
3535
bbox_head=dict(
3636
type='BBoxHeadAVA',
37+
background_class=True,
3738
in_channels=2048,
3839
num_classes=81,
3940
multilabel=True,

configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb16-4x16x1-20e_ava21-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
with_temporal_pool=True),
4545
bbox_head=dict(
4646
type='BBoxHeadAVA',
47+
background_class=True,
4748
in_channels=2304,
4849
num_classes=81,
4950
multilabel=True,

configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb6-8x8x1-cosine-10e_ava22-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
with_temporal_pool=True),
4646
bbox_head=dict(
4747
type='BBoxHeadAVA',
48+
background_class=True,
4849
in_channels=2304,
4950
num_classes=81,
5051
multilabel=True,

configs/detection/slowfast/slowfast_kinetics400-pretrained-r50_8xb8-8x8x1-20e_ava21-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
with_temporal_pool=True),
4646
bbox_head=dict(
4747
type='BBoxHeadAVA',
48+
background_class=True,
4849
in_channels=2304,
4950
num_classes=81,
5051
multilabel=True,

configs/detection/slowonly/slowonly_k400-pre-r50_8xb8-4x16x1-10e_ava-kinetics-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
with_temporal_pool=True),
3030
bbox_head=dict(
3131
type='BBoxHeadAVA',
32+
background_class=True,
3233
in_channels=2048,
3334
num_classes=81,
3435
multilabel=True,

configs/detection/slowonly/slowonly_k400-pre-r50_8xb8-8x8x1-10e_ava-kinetics-rgb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
with_temporal_pool=True),
3030
bbox_head=dict(
3131
type='BBoxHeadAVA',
32+
background_class=True,
3233
in_channels=2048,
3334
num_classes=81,
3435
multilabel=True,

0 commit comments

Comments
 (0)