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

Trainers: fix plotting file handle leak #826

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

adamjstewart
Copy link
Collaborator

@austinmw can you see if this fixes #825?

@github-actions github-actions bot added the trainers PyTorch Lightning trainers label Oct 10, 2022
@calebrob6
Copy link
Member

calebrob6 commented Oct 10, 2022

I thought we were already doing this? Has this come up before, or am I loosing it?

@adamjstewart
Copy link
Collaborator Author

This came up before but in our unit tests. This hasn't come up before with our trainers/datamodules.

@austinmw
Copy link

@austinmw can you see if this fixes #825?

will do tomorrow morning

@austinmw
Copy link

@adamjstewart successfully removed the warning for me

@adamjstewart adamjstewart merged commit dc5ca3a into main Oct 11, 2022
@adamjstewart adamjstewart deleted the fixes/trainer-file-handle-leak branch October 11, 2022 14:25
@adamjstewart adamjstewart added this to the 0.3.2 milestone Oct 11, 2022
@adamjstewart adamjstewart modified the milestones: 0.3.2, 0.4.0 Jan 23, 2023
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trainers PyTorch Lightning trainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File handle leak drawing figures
3 participants