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
Hello everyone. I am having trouble running the run_training_synapse.sh bash script. It starts to run for a few seconds until it encounters the following error:
FileNotFoundError: [Errno 2] No such file or directory: '../output_synapse\unetr_pp\3d_fullres\Task002_Synapse\unetr_pp_trainer_synapse__unetr_pp_Plansv2.1\fold_0\training_log_2024_11_13_17_16_06.txt'
I am pretty sure that I am running the bash script in the appropriate location, but I'm still not sure why this error keeps occurring. Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
Hello, I hope you're still there. The reason for this issue is that the maybe_mkdir_p function in the code is not compatible with the Windows system. You can modify the maybe_mkdir_p function to:
defmaybe_mkdir_p(directory):
directory=os.path.abspath(directory)
ifnotos.path.exists(directory):
try:
os.makedirs(directory)
exceptFileExistsError:
# This can sometimes happen when two jobs try to create the same directory at the same time,# especially on network drives.print("WARNING: Folder %s already existed and does not need to be created"%directory)
Hello everyone. I am having trouble running the run_training_synapse.sh bash script. It starts to run for a few seconds until it encounters the following error:
FileNotFoundError: [Errno 2] No such file or directory: '../output_synapse\unetr_pp\3d_fullres\Task002_Synapse\unetr_pp_trainer_synapse__unetr_pp_Plansv2.1\fold_0\training_log_2024_11_13_17_16_06.txt'
I am pretty sure that I am running the bash script in the appropriate location, but I'm still not sure why this error keeps occurring. Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: