"cacheflow/vscode:/vscode.git/clone" did not exist on "85eb6318391fc25d708af6109480498b45f56c77"
Commit 7b1bda2d authored by Yezhen Cong's avatar Yezhen Cong Committed by Tai-Wang
Browse files

[Fix] Fix RegNet pretrained weight loading (#889)

* Fix regnet pretrained weight loading

* Remove unused file
parent 7f61177e
......@@ -96,9 +96,9 @@ class MVXTwoStageDetector(Base3DDetector):
type='Pretrained', checkpoint=img_pretrained)
if self.with_pts_backbone:
if img_pretrained is not None:
if pts_pretrained is not None:
warnings.warn('DeprecationWarning: pretrained is a deprecated '
'key, please consider using init_cfg.')
'key, please consider using init_cfg')
self.pts_backbone.init_cfg = dict(
type='Pretrained', checkpoint=pts_pretrained)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment