-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
The progressbar gives the following error on call
File "/usr/local/lib/python3.7/dist-packages/progressbar/widgets.py", line 230, in update
return '%3d%%' % pbar.percentage()
ValueError: cannot convert float NaN to integerThis is how the bar the bar widgets have been created:
progress_bar_widgets = [
'Training: ', progressbar.Percentage(),
' ',
progressbar.Bar(marker='#',
left='[',
right=']'
),
' ',
progressbar.ETA(), ' '
]
Replacing line 230 in error the traceback to format the print for floats seems to suppress the problem.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels