-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Support training of BEVFusion (#2558)
* support train on nus * refactor transfusion head * img branch optioinal * support nuscenes_mini in replace_ceph_backend * use replace_ceph * add only-lidar * use valid_flag in dataset filter * support lidar-only training 69 * fix RTS * fix rotation in ImgAug3D * revert to original rotation in ImgAug3D * add LSSDepthTransform and parse_losses * fix LoadMultiSweeps * fix bug about points in-place operations * support amp and replace syncBN by BN * add amp config * set growth-interval in amp * Revert "fix LoadMultiSweeps" This reverts commit ab27ea1. * add float in cls loss * iter_based lr in fusion stage * rename config * use normalization query pos for stable training * remove unnecessary code & simplify config & train 5 epoch * smaller ete_min_ratio * polish code * fix UT * Revert "use normalization query pos for stable training" This reverts commit 3009118. * update readme * fix height offset
- Loading branch information
1 parent
ed46b8c
commit 583e907
Showing
11 changed files
with
693 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
from .bevfusion import BEVFusion | ||
from .bevfusion_necks import GeneralizedLSSFPN | ||
from .depth_lss import DepthLSSTransform | ||
from .depth_lss import DepthLSSTransform, LSSTransform | ||
from .loading import BEVLoadMultiViewImageFromFiles | ||
from .sparse_encoder import BEVFusionSparseEncoder | ||
from .transformer import TransformerDecoderLayer | ||
from .transforms_3d import GridMask, ImageAug3D | ||
from .transforms_3d import (BEVFusionGlobalRotScaleTrans, | ||
BEVFusionRandomFlip3D, GridMask, ImageAug3D) | ||
from .transfusion_head import ConvFuser, TransFusionHead | ||
from .utils import (BBoxBEVL1Cost, HeuristicAssigner3D, HungarianAssigner3D, | ||
IoU3DCost) | ||
|
||
__all__ = [ | ||
'BEVFusion', 'TransFusionHead', 'ConvFuser', 'ImageAug3D', 'GridMask', | ||
'GeneralizedLSSFPN', 'HungarianAssigner3D', 'BBoxBEVL1Cost', 'IoU3DCost', | ||
'HeuristicAssigner3D', 'DepthLSSTransform', | ||
'HeuristicAssigner3D', 'DepthLSSTransform', 'LSSTransform', | ||
'BEVLoadMultiViewImageFromFiles', 'BEVFusionSparseEncoder', | ||
'TransformerDecoderLayer' | ||
'TransformerDecoderLayer', 'BEVFusionRandomFlip3D', | ||
'BEVFusionGlobalRotScaleTrans' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.