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

oserror: unable to synchronously open file (truncated file: eof = 2940928, sblock->base_addr = 0, stored_eof = 4107541) #2340

Open
katherine-Z-kx opened this issue Nov 9, 2023 · 2 comments

Comments

@katherine-Z-kx
Copy link

Hello, I have a problem like the title. My environment: python=3.8.18, h5py=3.10.0,pytorch=1.9.0 and windows 10. When I trained the neural network, this error occurred every 43 epochs. I try to set numworks=0, or numworks=8, but this error still occurs. Can anyone help me? please.

@takluyver
Copy link
Member

Unfortunately, that error message usually means that the file has got corrupted. I've no idea why it would occur in a regular pattern, though. You may need to start with pytorch to understand what it's doing with h5py - the numworks parameter means nothing to me, for instance.

@Ofir408
Copy link

Ofir408 commented Mar 20, 2024

@katherine-Z-kx I have the same error. How did you solve it?

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

No branches or pull requests

3 participants