code: def calculate_eta(remaining_step, speed):
      if remaining_step < 0:
          remaining_step = 0
      remaining_time = int(remaining_step * speed)
      result = "{:0>2}:{:0>2}:{:0>2}"
      arr = []
      for i in range(2, -1, -1):
          arr.append(int(remaining_time / 60**i))
          remaining_time %= 60**i
      return result.format(*arr)
  
file_path: PaddleSeg/paddleseg/utils/timer.py
imports: import time
label_desc: Use image node_id 1 for calling a global function with example usage: calculate_eta(remaining_step, speed) and returns: result