Skip to content

Commit

Permalink
Fix a typo (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakonik committed Sep 5, 2022
1 parent e9ba207 commit 1545131
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_basic.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(4, 8, 16, 32, 64, 128),
Expand Down
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_coord_regr.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(4, 8, 16, 32, 64, 128),
Expand Down
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_coord_regr_trainval.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(4, 8, 16, 32, 64, 128),
Expand Down
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_no_reproj.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(4, 8, 16, 32, 64, 128),
Expand Down
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_v1b_220312.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(8, 16, 32, 64, 128),
Expand Down
2 changes: 1 addition & 1 deletion EPro-PnP-Det/configs/epropnp_det_v1b_220411.py
Expand Up @@ -24,7 +24,7 @@
add_extra_convs='on_output',
relu_before_extra_convs=True),
bbox_head=dict(
type='DefromPnPHead',
type='DeformPnPHead',
num_classes=10,
in_channels=256,
strides=(8, 16, 32, 64, 128),
Expand Down
4 changes: 2 additions & 2 deletions EPro-PnP-Det/epropnp_det/models/dense_heads/__init__.py
Expand Up @@ -2,7 +2,7 @@
Copyright (C) 2010-2022 Alibaba Group Holding Limited.
"""

from .deform_pnp_head import DefromPnPHead
from .deform_pnp_head import DeformPnPHead
from .fcos_emb_head import FCOSEmbHead

__all__ = ['DefromPnPHead', 'FCOSEmbHead']
__all__ = ['DeformPnPHead', 'FCOSEmbHead']
Expand Up @@ -34,7 +34,7 @@


@HEADS.register_module()
class DefromPnPHead(BaseDenseHead):
class DeformPnPHead(BaseDenseHead):

def __init__(self,
num_classes=10,
Expand Down Expand Up @@ -146,7 +146,7 @@ def __init__(self,
norm_cfg=None,
train_cfg=None,
test_cfg=None):
super(DefromPnPHead, self).__init__()
super(DeformPnPHead, self).__init__()
self.num_classes = num_classes
self.in_channels = in_channels
self.lvl_feat_channels = lvl_feat_channels
Expand Down Expand Up @@ -338,7 +338,7 @@ def train(self, mode=True):
if self.training:
self.train_cfg_backup[key] = rgetattr(self, key)
rsetattr(self, key, value)
super(DefromPnPHead, self).train(mode)
super(DeformPnPHead, self).train(mode)
return self

def forward_dense_single(self, x):
Expand Down

0 comments on commit 1545131

Please sign in to comment.