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
vision
Commits
b5670284
"src/graph/sampling/randomwalks/randomwalks_impl.h" did not exist on "5967d81782e4dc41c95815de44885703fd1d0259"
Unverified
Commit
b5670284
authored
Nov 21, 2021
by
Vasilis Vryniotis
Committed by
GitHub
Nov 21, 2021
Browse files
Amend the weights only if quantize=True. (#4966)
parent
8dcb5b81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/models/quantization/mobilenetv3.py
torchvision/models/quantization/mobilenetv3.py
+1
-1
No files found.
torchvision/models/quantization/mobilenetv3.py
View file @
b5670284
...
...
@@ -43,7 +43,7 @@ class QuantizableSqueezeExcitation(SqueezeExcitation):
):
version
=
local_metadata
.
get
(
"version"
,
None
)
if
version
is
None
or
version
<
2
:
if
hasattr
(
self
,
"qconfig"
)
and
(
version
is
None
or
version
<
2
)
:
default_state_dict
=
{
"scale_activation.activation_post_process.scale"
:
torch
.
tensor
([
1.0
]),
"scale_activation.activation_post_process.zero_point"
:
torch
.
tensor
([
0
],
dtype
=
torch
.
int32
),
...
...
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