Windows: Repeated “Access is denied” errors during nnunetv2_train after moving dataset directories to D: drive #2784
Replies: 1 comment
-
(ct) C:\Windows\system32>nnunetv2_train 777 2d 0 ############################ Using device: cuda:0 ####################################################################### 2025-04-16 15:55:32.842462: do_dummy_2d_data_aug: False Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: Message for the error 5: This is the configuration used by this training: These are the global plan.json settings: 2025-04-16 15:55:33.212921: Unable to plot network architecture: Message for the error 5: Message for the error 5: Message for the error 5: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m seeing persistent “Message for the error 5: Access is denied.” spam in the console whenever I run:
– It didn’t happen originally. The errors started appearing right after I moved my nnUNet_raw, nnUNet_preprocessed, and nnUNet_results folders from C: to D: and adjusted relevant environment variables (e.g. nnUNet_raw, nnUNet_preprocessed, nnUNet_results).
– I then moved everything back to C: and reset the env vars, but the “Access is denied” messages still persist.
I’ve already tried:
Nothing has stopped the “Access is denied” messages from appearing at the start of each epoch.
Environment:
Windows 10
Python 3.13, Conda environment
nnU-Net v2.6.0 (installed from GitHub)
CUDA 11.8, single GPU (A6000)
Has anyone encountered this on Windows and found a reliable workaround? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions