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
277dac40
".github/vscode:/vscode.git/clone" did not exist on "fea2b7bd37421a6cd66757f04f10862125e4255c"
Commit
277dac40
authored
May 10, 2022
by
Yeqing Li
Committed by
A. Unique TensorFlower
May 10, 2022
Browse files
Internal change
PiperOrigin-RevId: 447902944
parent
61c936c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/vision/examples/starter/example_model.py
official/vision/examples/starter/example_model.py
+2
-2
No files found.
official/vision/examples/starter/example_model.py
View file @
277dac40
...
...
@@ -16,7 +16,7 @@
This is only a dummy example to showcase how a model is composed. It is usually
not needed to implement a modedl from scratch. Most SoTA models can be found and
directly used from `official/vision/
beta/
modeling` directory.
directly used from `official/vision/modeling` directory.
"""
from
typing
import
Any
,
Mapping
...
...
@@ -84,7 +84,7 @@ def build_example_model(input_specs: tf.keras.layers.InputSpec,
This function is the main entry point to build a model. Commonly, it build a
model by building a backbone, decoder and head. An example of building a
classification model is at
third_party/tensorflow_models/official/vision/
beta/
modeling/backbones/resnet.py.
third_party/tensorflow_models/official/vision/modeling/backbones/resnet.py.
However, it is not mandatory for all models to have these three pieces
exactly. Depending on the task, model can be as simple as the example model
here or more complex, such as multi-head architecture.
...
...
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