paddleaudio.utils.time module

class paddleaudio.utils.time.Timer(total_step: int)[source]

Bases: object

Calculate runing speed and estimated time of arrival(ETA)

Attributes:
eta
is_running
timing

Methods

count

start

stop

count() int[source]
property eta: str
property is_running: bool
start()[source]
stop()[source]
property timing: float
paddleaudio.utils.time.seconds_to_hms(seconds: int) str[source]

Convert the number of seconds to hh:mm:ss