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
9d58e701
Commit
9d58e701
authored
Nov 01, 2020
by
vishnubanna
Browse files
debug value
parent
ff8d91aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
official/vision/beta/projects/yolo/dataloaders/classification_input.py
...on/beta/projects/yolo/dataloaders/classification_input.py
+1
-1
official/vision/beta/tasks/image_classification.py
official/vision/beta/tasks/image_classification.py
+2
-2
No files found.
official/vision/beta/projects/yolo/dataloaders/classification_input.py
View file @
9d58e701
...
...
@@ -27,7 +27,7 @@ STDDEV_RGB = (0.229 * 255, 0.224 * 255, 0.225 * 255)
class
Decoder
(
decoder
.
Decoder
):
"""A tf.Example decoder for classification task."""
def
__init__
(
self
):
print
(
"decoder ahs been init"
)
tf
.
print
(
"decoder ahs been init"
)
return
def
decode
(
self
,
serialized_example
):
...
...
official/vision/beta/tasks/image_classification.py
View file @
9d58e701
...
...
@@ -54,10 +54,10 @@ class ImageClassificationTask(base_task.Task):
input_size
=
self
.
task_config
.
model
.
input_size
if
params
.
tfds_name
!=
None
:
print
(
"i am here for training using tfds"
)
tf
.
print
(
"i am here for training using tfds"
)
decoder
=
cli
.
Decoder
()
else
:
print
(
"i am here for regular input"
)
tf
.
print
(
"i am here for regular input"
)
decoder
=
classification_input
.
Decoder
()
parser
=
classification_input
.
Parser
(
...
...
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