We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2a7ac commit b16d269Copy full SHA for b16d269
python/paddle/hapi/progressbar.py
@@ -147,7 +147,7 @@ def convert_uint16_to_float(in_list):
147
info += f' {v}'
148
149
if self._num is not None and current_num < self._num:
150
- eta = time_per_unit * (self._num - current_num)
+ eta = int(time_per_unit * (self._num - current_num))
151
if eta > 3600:
152
eta_format = (
153
f'{eta // 3600}:{(eta % 3600) // 60:02}:{eta % 60:02}'
0 commit comments