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
65fab8b3
Commit
65fab8b3
authored
Dec 03, 2021
by
Fan Yang
Committed by
A. Unique TensorFlower
Dec 03, 2021
Browse files
Internal change
PiperOrigin-RevId: 414061675
parent
ad3a9567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/vision/beta/serving/export_tflite_lib.py
official/vision/beta/serving/export_tflite_lib.py
+2
-0
No files found.
official/vision/beta/serving/export_tflite_lib.py
View file @
65fab8b3
...
@@ -43,6 +43,8 @@ def create_representative_dataset(
...
@@ -43,6 +43,8 @@ def create_representative_dataset(
task
=
tasks
.
image_classification
.
ImageClassificationTask
(
params
.
task
)
task
=
tasks
.
image_classification
.
ImageClassificationTask
(
params
.
task
)
elif
isinstance
(
params
.
task
,
configs
.
retinanet
.
RetinaNetTask
):
elif
isinstance
(
params
.
task
,
configs
.
retinanet
.
RetinaNetTask
):
task
=
tasks
.
retinanet
.
RetinaNetTask
(
params
.
task
)
task
=
tasks
.
retinanet
.
RetinaNetTask
(
params
.
task
)
elif
isinstance
(
params
.
task
,
configs
.
maskrcnn
.
MaskRCNNTask
):
task
=
tasks
.
maskrcnn
.
MaskRCNNTask
(
params
.
task
)
elif
isinstance
(
params
.
task
,
elif
isinstance
(
params
.
task
,
configs
.
semantic_segmentation
.
SemanticSegmentationTask
):
configs
.
semantic_segmentation
.
SemanticSegmentationTask
):
task
=
tasks
.
semantic_segmentation
.
SemanticSegmentationTask
(
params
.
task
)
task
=
tasks
.
semantic_segmentation
.
SemanticSegmentationTask
(
params
.
task
)
...
...
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