You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\tools\Anaconda3\envs\cnlpt5\lib\site-packages\transformers\trainer_utils.py", line 347, in speed_metrics
samples_per_second = num_samples / runtime
ZeroDivisionError: float division by zero
It looks like time.time() gives seconds, so it's possible to get runtime = 0 "runtime = time.time() - start_time"
Thanks,
Dennis & Sean
The text was updated successfully, but these errors were encountered:
File "C:\tools\Anaconda3\envs\cnlpt5\lib\site-packages\transformers\trainer_utils.py", line 347, in speed_metrics
samples_per_second = num_samples / runtime
ZeroDivisionError: float division by zero
It looks like time.time() gives seconds, so it's possible to get runtime = 0 "runtime = time.time() - start_time"
Thanks,
Dennis & Sean
The text was updated successfully, but these errors were encountered: