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
99838089
Commit
99838089
authored
Jun 13, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 454684592
parent
969a3f34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/vision/tasks/maskrcnn.py
official/vision/tasks/maskrcnn.py
+2
-1
No files found.
official/vision/tasks/maskrcnn.py
View file @
99838089
...
...
@@ -122,7 +122,8 @@ class MaskRCNNTask(base_task.Task):
self
,
params
:
exp_cfg
.
DataConfig
,
input_context
:
Optional
[
tf
.
distribute
.
InputContext
]
=
None
,
dataset_fn
:
Optional
[
dataset_fn_lib
.
PossibleDatasetType
]
=
None
):
dataset_fn
:
Optional
[
dataset_fn_lib
.
PossibleDatasetType
]
=
None
)
->
tf
.
data
.
Dataset
:
"""Build input dataset."""
decoder_cfg
=
params
.
decoder
.
get
()
if
params
.
decoder
.
type
==
'simple_decoder'
:
...
...
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