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

The process cannot access the file because it is being used by another process #70

Open
ysalex3d opened this issue Apr 28, 2023 · 1 comment

Comments

@ysalex3d
Copy link

Getting this error when I start training:

Disabled distributed training.
Path already exists. Rename it to [C:\Users\Yuri\DL-Art-School\experiments_archived_230428-154734]
Traceback (most recent call last):
File "C:\Users\Yuri\DL-Art-School\codes\train.py", line 380, in
trainer.init(args.opt, opt, args.launcher)
File "C:\Users\Yuri\DL-Art-School\codes\train.py", line 51, in init
util.mkdir_and_rename(
File "C:\Users\Yuri\DL-Art-School\codes\utils\util.py", line 112, in mkdir_and_rename
os.rename(path, new_name)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\Yuri\DL-Art-School\experiments\' -> 'C:\Users\Yuri\DL-Art-School\experiments\_archived_230428-154734'
Press any key to continue . . .

Tried rolling back out of BitsandBytes and a handful of other things, but nothing working.

@KoenigSimon
Copy link

I ran into the same error, I managed to resolve it by giving the project a name

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

2 participants