-
Notifications
You must be signed in to change notification settings - Fork 83
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
running python main.py --training getting error. #8
Comments
Almost same problem here. Training |
@hassaanmahmood can you share iseg2017 to me? thanks very much [email protected] |
@abmBashir13 can you share iseg2017 to me? thanks very much [email protected] |
'relu_slope': 0.2, The experiment name is unet_experiment [INFO]: Hi, This is root. |
I am getting error . What can be the problem here.
`Training
1
../data/iSEG_preprocessed/Training/T1/subject-1-T1.nii
../data/iSEG_preprocessed/Training/T2/subject-1-T2.nii
../data/iSEG_preprocessed/Training/label/subject-1-label.nii
Extracting Patches from Image 1 ....
Total Extracted Labelled Patches Shape: (2605, 32, 32, 32, 2) (2605, 32, 32, 32)
../data/iSEG_preprocessed/Testing/T1/subject-11-T1.nii
../data/iSEG_preprocessed/Testing/T2/subject-11-T2.nii
../data/iSEG_preprocessed/Training/label/subject-1-label.nii
Processing the Image 11 ....
Traceback (most recent call last):
File "main.py", line 81, in
tf.app.run()
File "/home/hmahmood/anaconda3/envs/pi352/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "main.py", line 73, in main
network.train()
File "/home/hmahmood/FewShot_GAN-Unet3D/proposed_model/model.py", line 223, in train
data_directory=F.data_directory)
File "../preprocess/preprocess.py", line 311, in init
patch_shape, number_unlab_images_training)
File "../preprocess/preprocess.py", line 246, in preprocess_dynamic_unlab
x=get_patches_unlab(T1_vols, T2_vols, extraction_step, patch_shape,dir)
File "../preprocess/preprocess.py", line 205, in get_patches_unlab
label_patches = extract_patches(label_ref, patch_shape, extraction_step)
File "../preprocess/preprocess.py", line 81, in extract_patches
dstride_d:(dstride_d)+patch_d]
ValueError: could not broadcast input array from shape (32,32,32,1) into shape (32,32,32)`
The text was updated successfully, but these errors were encountered: