-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhance] Refactor init_weight #378
Conversation
da832a6
to
d52c837
Compare
Codecov Report
@@ Coverage Diff @@
## master #378 +/- ##
==========================================
- Coverage 50.97% 49.24% -1.74%
==========================================
Files 197 189 -8
Lines 15057 14415 -642
Branches 2445 2355 -90
==========================================
- Hits 7675 7098 -577
+ Misses 6878 6851 -27
+ Partials 504 466 -38
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check the model code very carefully.
docs/getting_started.md
Outdated
| 0.7.0 | mmdet>=2.5.0, <=2.11.0 | mmcv-full>=1.1.5, <=1.4| | ||
| 0.6.0 | mmdet>=2.4.0, <=2.11.0 | mmcv-full>=1.1.3, <=1.2| | ||
| 0.5.0 | 2.3.0 | mmcv-full==1.0.5| | ||
| master | mmdet>=2.10.0 | mmcv-full>=1.3.2, <=1.4| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change min version of mmdet to 2.12.0 because some of our detectors are inherited from mmdet?
mmdet3d/__init__.py
Outdated
@@ -27,7 +27,7 @@ def digit_version(version_str): | |||
f'Please install mmcv>={mmcv_minimum_version}, <={mmcv_maximum_version}.' | |||
|
|||
mmdet_minimum_version = '2.10.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also change the mmdet min version here to 2.12.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I compare this with mmdet's PR and it seems good to me.
super().__init__() | ||
normalize_xyz=True), | ||
init_cfg=None): | ||
super().__init__(init_cfg=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init_cfg=init_cfg
Need to resolve conflicts. |
This PR relies on open-mmlab/mmsegmentation#567 |
docs/getting_started.md
Outdated
@@ -12,7 +12,7 @@ The required versions of MMCV, MMDetection and MMSegmentation for different vers | |||
|
|||
| MMDetection3D version | MMDetection version | MMSegmentation version | MMCV version | | |||
|:-------------------:|:-------------------:|:-------------------:|:-------------------:| | |||
| master | mmdet>=2.10.0, <=2.11.0| mmseg>=0.13.0 | mmcv-full>=1.3.1, <=1.4| | |||
| master | mmdet>=2.12.0 | mmseg>=0.13.0 | mmcv-full>=1.2.4, <=1.4| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should >=1.3.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry,we should >=1.3.2, because mmdet need mmcv-full version >= 1.3.2
docs/tutorials/customize_models.md
Outdated
@@ -26,16 +26,13 @@ from ..builder import VOXEL_ENCODERS | |||
|
|||
|
|||
@VOXEL_ENCODERS.register_module() | |||
class HardVFE(nn.Module): | |||
class HardVFE(BaseModule): | |||
|
|||
def __init__(self, arg1, arg2): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this init add the argument init_cfg?
mmdet3d/__init__.py
Outdated
@@ -17,7 +17,7 @@ def digit_version(version_str): | |||
return digit_version | |||
|
|||
|
|||
mmcv_minimum_version = '1.3.1' | |||
mmcv_minimum_version = '1.3.2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just use the newest one because we made BC-breaking anyway.
Need to resolve conflicts and update compatibility doc. |
8830d63
to
cde515d
Compare
* fix ncnn docs` * update 0216
Motivation
Refactoring model initialization methods based MMCV. For more information, please refer to open-mmlab/mmcv#780
Dependency
Training results