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
ModelZoo
ResNet50_tensorflow
Commits
87796817
Commit
87796817
authored
Apr 12, 2021
by
Rebecca Chen
Committed by
A. Unique TensorFlower
Apr 12, 2021
Browse files
Internal change
PiperOrigin-RevId: 368157180
parent
0c814fa2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/beta/modeling/backbones/mobilenet.py
official/vision/beta/modeling/backbones/mobilenet.py
+1
-1
No files found.
official/vision/beta/modeling/backbones/mobilenet.py
View file @
87796817
...
@@ -471,7 +471,7 @@ def block_spec_decoder(
...
@@ -471,7 +471,7 @@ def block_spec_decoder(
if
(
spec_name
!=
'MobileNetV1'
if
(
spec_name
!=
'MobileNetV1'
and
finegrain_classification_mode
and
finegrain_classification_mode
and
filter_size_scale
<
1.0
):
and
filter_size_scale
<
1.0
):
decoded_specs
[
-
1
].
filters
/=
filter_size_scale
decoded_specs
[
-
1
].
filters
/=
filter_size_scale
# pytype: disable=annotation-type-mismatch
for
ds
in
decoded_specs
:
for
ds
in
decoded_specs
:
if
ds
.
filters
:
if
ds
.
filters
:
...
...
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