Skip to content

Training Error: [WinError 32] The process cannot access the file because it is being used by another process #340

Discussion options

You must be logged in to vote

I resolved my problem reducing the batch size and grad accumulation. It works with:

  • Workers/Threads: 10
  • Batch size: 20
  • Grad accumulation steps: 2
    It does not work with below setup or larger batch sizes (I receive the same Error):
  • Workers/Threads: 10
  • Batch size: 24
  • Grad accumulation steps: 4

** I think the problem is my GPU memory.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@erew123
Comment options

Answer selected by MarianaMendanha
Comment options

You must be logged in to vote
1 reply
@erew123
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants