Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenPCDet
Commits
c9674890
Commit
c9674890
authored
Nov 04, 2021
by
acivgin1
Browse files
version parsing fix
parent
4bdd8dda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
pcdet/models/detectors/detector3d_template.py
pcdet/models/detectors/detector3d_template.py
+1
-0
No files found.
pcdet/models/detectors/detector3d_template.py
View file @
c9674890
...
@@ -330,6 +330,7 @@ class Detector3DTemplate(nn.Module):
...
@@ -330,6 +330,7 @@ class Detector3DTemplate(nn.Module):
def
_load_state_dict
(
self
,
model_state_disk
,
version
,
*
,
strict
=
True
):
def
_load_state_dict
(
self
,
model_state_disk
,
version
,
*
,
strict
=
True
):
state_dict
=
self
.
state_dict
()
# local cache of state_dict
state_dict
=
self
.
state_dict
()
# local cache of state_dict
version
=
version
.
split
(
"+"
)[
1
]
spconv_keys
=
find_all_spconv_keys
(
self
)
spconv_keys
=
find_all_spconv_keys
(
self
)
update_model_state
=
{}
update_model_state
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment