Commit 9d58e701 authored by vishnubanna's avatar vishnubanna
Browse files

debug value

parent ff8d91aa
......@@ -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):
......
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment