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()
def _run_detection_main(self): """Starts detection job.""" if self.timer_callback: return detection.run(callbacks=[self.timer_callback]) else: return detection.run()