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
a4ffb34d
Commit
a4ffb34d
authored
Mar 02, 2018
by
Zhichao Lu
Committed by
lzc5123016
Mar 03, 2018
Browse files
Make sure that reuse is passed to the network.
PiperOrigin-RevId: 187677107
parent
3fff4b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
research/object_detection/models/faster_rcnn_nas_feature_extractor.py
...ect_detection/models/faster_rcnn_nas_feature_extractor.py
+8
-4
No files found.
research/object_detection/models/faster_rcnn_nas_feature_extractor.py
View file @
a4ffb34d
...
...
@@ -182,10 +182,14 @@ class FasterRCNNNASFeatureExtractor(
with
slim
.
arg_scope
(
nasnet_large_arg_scope_for_detection
(
is_batch_norm_training
=
self
.
_train_batch_norm
)):
_
,
end_points
=
nasnet
.
build_nasnet_large
(
preprocessed_inputs
,
num_classes
=
None
,
is_training
=
self
.
_is_training
,
final_endpoint
=
'Cell_11'
)
with
arg_scope
([
slim
.
conv2d
,
slim
.
batch_norm
,
slim
.
separable_conv2d
],
reuse
=
self
.
_reuse_weights
):
_
,
end_points
=
nasnet
.
build_nasnet_large
(
preprocessed_inputs
,
num_classes
=
None
,
is_training
=
self
.
_is_training
,
final_endpoint
=
'Cell_11'
)
# Note that both 'Cell_10' and 'Cell_11' have equal depth = 2016.
rpn_feature_map
=
tf
.
concat
([
end_points
[
'Cell_10'
],
...
...
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