You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already downloaded the CIFAR10 dataset and the DCGAN checkpoints. Below, you can find the error message I'm getting. how I can fix this issue?
Traceback (most recent call last):
File "C:\Projects\PyTorch-StudioGAN\src\main.py", line 192, in<module>
loader.load_worker(local_rank=rank,
File "C:\Projects\PyTorch-StudioGAN\src\loader.py", line 235, in load_worker
os.remove(join(cfgs.RUN.save_dir, "logs", run_name + ".log"))
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'results_cifar/cifar10\\logs\\CIFAR10-DCGAN-train-2023_11_07_15_36_39.log'
Activity
HolyAkisy commentedon Dec 28, 2023
I encountered the same problem on Windows as well. Have you already found a solution to this issue?
f-amerehi commentedon Dec 28, 2023
Hi @HolyAkisy, As a temporary workaround you can comment the error line in the
src/loader.pyas it's not too much important. it's just a log clearanceYou can also use the forked repo https://github.com/f-amerehi/PyTorch_StudioGAN
HolyAkisy commentedon Dec 29, 2023
It's working now, thanks for your help.