Commit 61431e6c authored by dasharatha.vamshi's avatar dasharatha.vamshi

changes

parent 94ac3f8b
...@@ -209,7 +209,7 @@ class Welspun_Classifier(ModelWrapper): ...@@ -209,7 +209,7 @@ class Welspun_Classifier(ModelWrapper):
# log.info("Batch size is {}".format(n)) # log.info("Batch size is {}".format(n))
# #
# log.info("Starting inference in synchronous mode") # log.info("Starting inference in synchronous mode")
if self.counter % 10 == 0: if self.counter % 3 == 0:
start = time.time() start = time.time()
res = self.exec_net.infer(inputs={self.input_blob: images}) res = self.exec_net.infer(inputs={self.input_blob: images})
print(f"Inference time: {time.time() - start}") print(f"Inference time: {time.time() - start}")
......
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