def _run_detection_main(self):
     """Starts detection job."""
     if self.timer_callback:
         FLAGS.log_steps = 0  # prevent detection.run from adding the same callback
         return detection.run(callbacks=[self.timer_callback])
     else:
         return detection.run()
Ejemplo n.º 2
0
 def _run_detection_main(self):
     """Starts detection job."""
     if self.timer_callback:
         return detection.run(callbacks=[self.timer_callback])
     else:
         return detection.run()