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
2a595d51
"torchvision/models/vscode:/vscode.git/clone" did not exist on "0725ccc859bdc368d38d795d25d95c099fe4e6a0"
Commit
2a595d51
authored
Nov 18, 2021
by
Yeqing Li
Committed by
A. Unique TensorFlower
Nov 18, 2021
Browse files
Internal change
PiperOrigin-RevId: 410934847
parent
eea839c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
official/vision/detection/modeling/architecture/nn_blocks.py
official/vision/detection/modeling/architecture/nn_blocks.py
+0
-2
official/vision/detection/modeling/architecture/spinenet.py
official/vision/detection/modeling/architecture/spinenet.py
+0
-1
No files found.
official/vision/detection/modeling/architecture/nn_blocks.py
View file @
2a595d51
...
@@ -23,7 +23,6 @@ import tensorflow as tf
...
@@ -23,7 +23,6 @@ import tensorflow as tf
from
official.modeling
import
tf_utils
from
official.modeling
import
tf_utils
@
tf
.
keras
.
utils
.
register_keras_serializable
(
package
=
'Vision'
)
class
ResidualBlock
(
tf
.
keras
.
layers
.
Layer
):
class
ResidualBlock
(
tf
.
keras
.
layers
.
Layer
):
"""A residual block."""
"""A residual block."""
...
@@ -163,7 +162,6 @@ class ResidualBlock(tf.keras.layers.Layer):
...
@@ -163,7 +162,6 @@ class ResidualBlock(tf.keras.layers.Layer):
return
self
.
_activation_fn
(
x
+
shortcut
)
return
self
.
_activation_fn
(
x
+
shortcut
)
@
tf
.
keras
.
utils
.
register_keras_serializable
(
package
=
'Vision'
)
class
BottleneckBlock
(
tf
.
keras
.
layers
.
Layer
):
class
BottleneckBlock
(
tf
.
keras
.
layers
.
Layer
):
"""A standard bottleneck block."""
"""A standard bottleneck block."""
...
...
official/vision/detection/modeling/architecture/spinenet.py
View file @
2a595d51
...
@@ -113,7 +113,6 @@ def build_block_specs(block_specs=None):
...
@@ -113,7 +113,6 @@ def build_block_specs(block_specs=None):
return
[
BlockSpec
(
*
b
)
for
b
in
block_specs
]
return
[
BlockSpec
(
*
b
)
for
b
in
block_specs
]
@
tf
.
keras
.
utils
.
register_keras_serializable
(
package
=
'Vision'
)
class
SpineNet
(
tf
.
keras
.
Model
):
class
SpineNet
(
tf
.
keras
.
Model
):
"""Class to build SpineNet models."""
"""Class to build SpineNet models."""
...
...
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