-
Notifications
You must be signed in to change notification settings - Fork 186
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
ValueError: Value out of range, should be between 0 and 176 #16
Comments
idk why this error is causing but i tackled it by commenting norm and n4 first and run "reg" only basically i ran one at a time.. so it made patches correctly for me by this trick of running one at a time |
@BKShaikh I was able to run brain pipeline in python 2.7 successfully. |
@darshthakkar i'm able to run brain pipeline also training part of segmentation file but i'm stuck in testing phase i'm not able to run that testing phase of this code maybe i'm not giving right format of testing data but getting this error and not able to find out why i'm getting this error |
@BKShaikh I'm not sure what the error is about, there seems to be a type mismatch but I think if the author - @naldeborgh7575 reply's, it will be osf some use. @BKShaikh I'm getting this error when I try to train the model, if you could help, it would be great. |
@darshthakkar it looks like that your code is trying to get a wrong image format i think you should only change the range research |
@darshthakkar kindly contact me here [email protected] we can discuss it there I can help you in training phase. |
hi ,i have the problem value out of range, should be between 0 and 176 #16 can any one solve it |
Windows 10
Python 3.6
Brats 2013 datase (HG/LG)
Traceback (most recent call last):
File "D:/Darsh/Nirma/Semester 7/Trial/nn-segmentation-for-lar-master/brain_tumor_segmentation_cnn/brain_pipeline.py", line 234, in
save_patient_slices(patients, 'reg')
File "D:/Darsh/Nirma/Semester 7/Trial/nn-segmentation-for-lar-master/brain_tumor_segmentation_cnn/brain_pipeline.py", line 202, in save_patient_slices
a.save_patient(type_modality, patient_num)
File "D:/Darsh/Nirma/Semester 7/Trial/nn-segmentation-for-lar-master/brain_tumor_segmentation_cnn/brain_pipeline.py", line 154, in save_patient
for slice_ix in progress(range(176)):
File "C:\Users\DELL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\progressbar\bar.py", line 433, in next
self.update(self.value + 1)
File "C:\Users\DELL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\progressbar\bar.py", line 553, in update
% (self.min_value, self.max_value))
ValueError: Value out of range, should be between 0 and 176
Process finished with exit code 1
Above is the error i'm getting after several images are created for the first iteration.
The text was updated successfully, but these errors were encountered: