Skip to content

Commit

Permalink
remove-redundent__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
SekiroRong committed Dec 29, 2022
1 parent 21acc17 commit f0af246
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 2 additions & 4 deletions projects/PETR/petr/models/task_modules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Copyright (c) OpenMMLab. All rights reserved.
from mmdet.models.task_modules import AssignResult, BaseAssigner

from .assigners import HungarianAssigner3D
from .coders import NMSFreeCoder
from .match_cost import BBox3DL1Cost, FocalLossCost, IoUCost

__all__ = [
'BaseAssigner', 'AssignResult', 'HungarianAssigner3D', 'NMSFreeCoder',
'BBox3DL1Cost', 'IoUCost', 'FocalLossCost'
'HungarianAssigner3D', 'NMSFreeCoder', 'BBox3DL1Cost', 'IoUCost',
'FocalLossCost'
]
7 changes: 1 addition & 6 deletions projects/PETR/petr/models/task_modules/assigners/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.
from mmdet.models.task_modules import (AssignResult, BaseAssigner,
MaxIoUAssigner)

from .hungarian_assigner_3d import HungarianAssigner3D

__all__ = [
'BaseAssigner', 'MaxIoUAssigner', 'AssignResult', 'HungarianAssigner3D'
]
__all__ = ['HungarianAssigner3D']

0 comments on commit f0af246

Please sign in to comment.