Closed helpmefindaname closed 1 month ago
Hi @helpmefindaname :wave:,
Tanks for the fix good catch :+1:
failing build / script jobs are expected atm so don't wonder :sweat_smile:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.30%. Comparing base (
3f116ad
) to head (4dd46c2
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The previous behavior opened PIL images, but didn't release their memory, causing a huge memory leak on our training pipeline. With this PR, the PIL images will be closed immediately after the copy as numpy array or torch tensor is created.