Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added call to close() function for 'file_train' and 'file_test' #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SteTala97
Copy link

Reference Issues

None

What does this fix?

In 99.9% of the cases not closing an opened txt file is not going to do any harm, but still it is best practice to do so. In the "process.py" script the two files "train.txt" and "test.txt" are opened with open() but never closed.

Other comments

I have made the same pull request with the same minor fix to the "yolov4-custom_Training" repository. Again: your tutorials have helped me a lot while configuring/using the darknet framework, so again: thank you! 💖

@SteTala97 SteTala97 marked this pull request as draft July 14, 2022 09:25
@SteTala97 SteTala97 marked this pull request as ready for review July 14, 2022 09:28
@SteTala97
Copy link
Author

Sorry, I accidentally marked it as draft. I marked it again as ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants