Skip to content

Commit

Permalink
remove-hierarchtecture
Browse files Browse the repository at this point in the history
  • Loading branch information
SekiroRong committed Jan 4, 2023
1 parent 8c7cd00 commit 7ee9757
Show file tree
Hide file tree
Showing 26 changed files with 19 additions and 539 deletions.
28 changes: 15 additions & 13 deletions projects/PETR/petr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
from .datasets.transforms import GlobalRotScaleTransImage, ResizeCropFlipImage
from .models.backbones.vovnetcp import VoVNetCP
from .models.dense_heads import PETRHead
from .models.detectors import PETR
from .models.necks import CPFPN
from .models.task_modules.assigners import HungarianAssigner3D
from .models.task_modules.coders import NMSFreeCoder
from .models.task_modules.match_cost import BBox3DL1Cost
from .models.utils import (LearnedPositionalEncoding3D, PETRDNTransformer,
PETRMultiheadAttention, PETRTransformer,
PETRTransformerDecoder, PETRTransformerDecoderLayer,
PETRTransformerEncoder, SinePositionalEncoding3D)
from .structures.utils import denormalize_bbox, normalize_bbox
from .cp_fpn import CPFPN
from .hungarian_assigner_3d import HungarianAssigner3D
from .match_cost import BBox3DL1Cost
from .nms_free_coder import NMSFreeCoder
from .petr import PETR
from .petr_head import PETRHead
from .petr_transformer import (PETRDNTransformer, PETRMultiheadAttention,
PETRTransformer, PETRTransformerDecoder,
PETRTransformerDecoderLayer,
PETRTransformerEncoder)
from .positional_encoding import (LearnedPositionalEncoding3D,
SinePositionalEncoding3D)
from .transforms_3d import GlobalRotScaleTransImage, ResizeCropFlipImage
from .utils import denormalize_bbox, normalize_bbox
from .vovnetcp import VoVNetCP

__all__ = [
'GlobalRotScaleTransImage', 'ResizeCropFlipImage', 'VoVNetCP', 'PETRHead',
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions projects/PETR/petr/datasets/__init__.py

This file was deleted.

7 changes: 0 additions & 7 deletions projects/PETR/petr/datasets/transforms/__init__.py

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from mmdet.models.task_modules import AssignResult, BaseAssigner

from mmdet3d.registry import TASK_UTILS
from projects.PETR.petr.structures.utils import normalize_bbox
from projects.PETR.petr.utils import normalize_bbox

try:
from scipy.optimize import linear_sum_assignment
Expand Down
File renamed without changes.
7 changes: 0 additions & 7 deletions projects/PETR/petr/models/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions projects/PETR/petr/models/backbones/__init__.py

This file was deleted.

Loading

0 comments on commit 7ee9757

Please sign in to comment.