-
Notifications
You must be signed in to change notification settings - Fork 74k
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
TFRecordReader keeps files locked after session closes #14772
Comments
OK, it looks like it's a problem in the TFRecordReader. I glanced at the code of the reader itself and it seems fine. Would you mind putting a few |
Thanks for the response @drpngx - where should I add those statements ? |
I would start here:
|
This means I will have to recompile tf - I have no time for this now, hopefully soon |
Sounds good, thanks! |
It is still an issue |
Could you provide more information by printing out what the call sequences look like? Is |
Sorry I have no time to look into the C++ code now. |
We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks! |
Any update here? |
System information
Running this script (you need some tfrecords from here):
Produces:
(I had also asked at stack overflow here. Unless I am doing something stupid shouldn't the tfrecord file be free for deleting after the session closes ? Do I have to explicitly close it (is it even possible) ?
The equivalent dataset code has the same issue:
It seems in both cases it locks the last file - the others are removed ok.
The text was updated successfully, but these errors were encountered: