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
Describe the bug
We are removing the log_handler here but not closing the handler leading to ResourceWarning: unclosed file <_io.BufferedReader name='training.log. Hence we are not able to programatically access the training.log (For ex - Unable to upload the file to s3 using botocore)
To Reproduce
Training just any model leads to this Warning.
Expected behavior
The log_handler to be closed before training exits
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
MacOS 10.15.6
Version: flair-0.8
The text was updated successfully, but these errors were encountered:
Describe the bug
We are removing the log_handler here but not closing the handler leading to
ResourceWarning: unclosed file <_io.BufferedReader name='training.log
. Hence we are not able to programatically access the training.log (For ex - Unable to upload the file to s3 using botocore)To Reproduce
Training just any model leads to this Warning.
Expected behavior
The
log_handler
to be closed before training exitsScreenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: