Closed adao777 closed 2 years ago
FasterRCNN
is not supported now.
@Kai Hu Thank you.
王俊 @.***
------------------ 原始邮件 ------------------ 发件人: "Kai @.>; 发送时间: 2022年10月26日(星期三) 上午6:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [open-mmlab/mmaction2] AttributeError: FasterRCNN: 'ConfigDict' object has no attribute 'rpn' (Issue #2020)
FasterRCNN is not supported now.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi. config file: slowonly_omnisource_pretrained_r50_4x16x1_20e_ava_rgb.py I tried to use FasterRCNN for FastRCNN. model = dict( type='FasterRCNN',
I also added the following content to the config file but got error.
rpn_head=dict( type='RPNHead', in_channels=256, feat_channels=256, anchor_generator=dict( type='AnchorGenerator', scales=[8], ratios=[0.5, 1.0, 2.0], strides=[4, 8, 16, 32, 64]), bbox_coder=dict( type='DeltaXYWHBBoxCoder', target_means=[.0, .0, .0, .0], target_stds=[1.0, 1.0, 1.0, 1.0]), loss_cls=dict( type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0), loss_bbox=dict(type='L1Loss', loss_weight=1.0)),