xmengli / H-DenseUNet

TMI 2018. H-DenseUNet: Hybrid Densely Connected UNet for Liver and Tumor Segmentation from CT Volumes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when checking input: expected data to have shape (10, 512, 512, 3) but got array with shape (20, 224, 224, 3)

OxInsky1105 opened this issue · comments

Thanks for your code: https://github.com/xmengli999/H-DenseUNet. I am very interested in your work,and want to learn to you. I try the code in my sever. but got the error as follow:     
 I cannot understand why i would get this error. the data which i had run python preprocessing.py as a preprocess before  bash bash_training.

The training data input should be 224224. In the test phase, the input should be 512512.

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

have solve the peoblem?

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

how can you solve this problem?

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

where the parameters are should we change?

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

I get it, you may change the parameters of the denseunet

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

I get it, you may change the parameters of the denseunet

I am sorry as the code is too long to use. I have forgot the changes! but i ever remembered that you should check the args.input_size,truely input image_size and the error sentences in programs! and the real data folder, yeah, that's very import! Besides, i don't konw the data which you get! from the author or the offical website? they also have differences when i run the program.finally, i run succeed, but i volunteered and the code in sever at school! Wishing it will help you!

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

have solve the peoblem?

I am sorry as the code is too long to use. I have forgot the changes! but i ever remembered that you should check the args.input_size,truely input image_size and the error sentences in programs! and the real data folder, yeah, that's very import! Besides, i don't konw the data which you get! from the author or the offical website? they also have differences when i run the program.finally, i run succeed, but i volunteered and the code in sever at school! Wishing it will help you!

Thanks, it works! i realize that i should change some parameters in code. Thank you very much!

I got the same error!
Umm but didn't you run the code for training?
xmengli999 said input should be 224224 when you train it but as you can see in the error input is 224224!!
And I ran the code and it does get the same error when input is 224224
What is the parameter you corrected and How did you correct?

I am sorry as the code is too long to use. I have forgot the changes! but i ever remembered that you should check the args.input_size,truely input image_size and the error sentences in programs! and the real data folder, yeah, that's very import! Besides, i don't konw the data which you get! from the author or the offical website? they also have differences when i run the program.finally, i run succeed, but i volunteered and the code in sever at school! Wishing it will help you!