Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberknight2077 committed Sep 30, 2022
1 parent 1b05167 commit c51b58e
Show file tree
Hide file tree
Showing 1,016 changed files with 183 additions and 226,290 deletions.
254 changes: 138 additions & 116 deletions README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from .functional import horizontal_flip_image_multiview, horizaontal_flip_bbox, horizaontal_flip_cam_params, horizaontal_flip_canbus


class RandomScaleImageMultiViewImage_naive(object):
class RandomScaleImageMultiViewImage(object):
"""Resize the multiple-view images with the same scale selected randomly. .
Args:
scales (tuple of float): ratio for resizing the images. Every time, select one ratio
Expand Down Expand Up @@ -81,7 +81,7 @@ def __repr__(self):
return repr_str


class RandomHorizontalFlipMultiViewImage_naive(object):
class RandomHorizontalFlipMultiViewImage(object):
"""Horizontally flip the multiple-view images with bounding boxes, camera parameters and can bus randomly. .
Wrapper for mmdet3d
Args:
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
import numpy as np
import torch
from mmdet.datasets.builder import PIPELINES
from ..data_aug.transforms import RandomScaleImageMultiViewImage_naive
from ..data_aug.transforms import RandomHorizontalFlipMultiViewImage_naive
from ..data_aug.transforms import RandomScaleImageMultiViewImage
from ..data_aug.transforms import RandomHorizontalFlipMultiViewImage


@PIPELINES.register_module()
class RandomScaleImageMultiViewImage(RandomScaleImageMultiViewImage_naive):
class RandomScaleImageMultiViewImage(RandomScaleImageMultiViewImage):
"""Resize the multiple-view images with the same scale selected randomly. .
Wrapper for mmdet3d
Args:
Expand Down Expand Up @@ -62,7 +62,7 @@ def __call__(self, results: Dict, seed=None) -> Dict:


@PIPELINES.register_module()
class RandomHorizontalFlipMultiViewImage(RandomHorizontalFlipMultiViewImage_naive):
class RandomHorizontalFlipMultiViewImage(RandomHorizontalFlipMultiViewImage):
"""Horizontally flip the multiple-view images with bounding boxes, camera parameters and can bus randomly. .
Wrapper for mmdet3d
Args:
Expand Down
218 changes: 0 additions & 218 deletions code/mmdetection3d/.dev_scripts/gather_models.py

This file was deleted.

Loading

0 comments on commit c51b58e

Please sign in to comment.