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
9dc368bc
"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "a2b07bfde45b9fa473c768ccc4c1d72e84e8a2f0"
Commit
9dc368bc
authored
Jun 28, 2022
by
Fan Yang
Committed by
A. Unique TensorFlower
Jun 28, 2022
Browse files
Internal change
PiperOrigin-RevId: 457843445
parent
f962ce38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
official/vision/dataloaders/classification_input.py
official/vision/dataloaders/classification_input.py
+5
-0
No files found.
official/vision/dataloaders/classification_input.py
View file @
9dc368bc
...
@@ -254,6 +254,11 @@ class Parser(parser.Parser):
...
@@ -254,6 +254,11 @@ class Parser(parser.Parser):
return
image
return
image
def
parse_train_image
(
self
,
decoded_tensors
:
Dict
[
str
,
tf
.
Tensor
])
->
tf
.
Tensor
:
"""Public interface for parsing image data for training."""
return
self
.
_parse_train_image
(
decoded_tensors
)
@
classmethod
@
classmethod
def
inference_fn
(
cls
,
def
inference_fn
(
cls
,
image
:
tf
.
Tensor
,
image
:
tf
.
Tensor
,
...
...
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