-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error to train acdc dataset #69
Comments
Hi, Thanks for your interest in our work! Please make sure to run the training from the provided training script in the repo "run_training_acdc.sh" You can't just run the Python file because there are the following variables you must set before running the training script:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When I run ./run_training_acdc.sh, it gives the errors below. Could you check and help which I missed. thank you.
$ ./run_training_acdc.sh
###############################################
I am running the following nnFormer: 3d_fullres
My trainer class is: <class 'unetr_pp.training.network_training.unetr_pp_trainer_acdc.unetr_pp_tra
For that I will be using the following configuration:
num_classes: 3
modalities: {0: 'MRI'}
use_mask_for_norm OrderedDict([(0, False)])
keep_only_largest_region None
min_region_size_per_class None
min_size_per_class None
normalization_schemes OrderedDict([(0, 'nonCT')])
stages...
stage: 0
{'batch_size': 4, 'num_pool_per_axis': [2, 5, 5], 'patch_size': array([ 16, 160, 160]), 'median_pat
208], dtype=int64), 'current_spacing': array([5. , 1.5625, 1.5625]), 'original_spacing': array([data_aug': True, 'pool_op_kernel_sizes': [[1, 2, 2], [2, 2, 2], [2, 2, 2], [1, 2, 2], [1, 2, 2]], '
3], [3, 3, 3], [3, 3, 3], [3, 3, 3], [3, 3, 3]]}
I am using stage 0 from these plans
I am using sample dice + CE loss
I am using data from this folder: ../DATASET_Acdc/unetr_pp_raw/unetr_pp_raw_data/Task01_ACDC\Task0plans_v2.1
###############################################
Traceback (most recent call last):
File "../unetr_pp/run/run_training.py", line 171, in
main()
File "../unetr_pp/run/run_training.py", line 142, in main
trainer.initialize(not validation_only)
File "C:\Users\miaogu\Desktop\projects\try\unetr_plus_plus\unetr_pp\training\network_training\une", line 98, in initialize
self.setup_DA_params()
File "C:\Users\miaogu\Desktop\projects\try\unetr_plus_plus\unetr_pp\training\network_training\une", line 450, in setup_DA_params
self.print_to_log_file("Using dummy2d data augmentation")
File "C:\Users\miaogu\Desktop\projects\try\unetr_plus_plus\unetr_pp\training\network_training\net, line 262, in print_to_log_file
with open(self.log_file, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../output_acdc\unetr_pp\3d_fullres\Taskainer_acdc__unetr_pp_Plansv2.1\fold_0\training_log_2024_2_3_21_45_23.txt'
The text was updated successfully, but these errors were encountered: