Skip to content
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

Training error #5

Open
oomiracle opened this issue Aug 2, 2019 · 1 comment
Open

Training error #5

oomiracle opened this issue Aug 2, 2019 · 1 comment

Comments

@oomiracle
Copy link

Traceback (most recent call last):
File "./networkTraining.py", line 83, in
networkTraining(sys.argv[1:])
File "./networkTraining.py", line 78, in networkTraining
startTraining(networkModelName,configIniName)
File "/data/zhanghang/HyperDenseNet-master/src/HyperDenseNet/startTraining.py", line 141, in startTraining
applyPadding
File "/data/zhanghang/HyperDenseNet-master/src/HyperDenseNet/Modules/IO/sampling.py", line 80, in getSamplesSubepoch
imageType
File "/data/zhanghang/HyperDenseNet-master/src/HyperDenseNet/Modules/IO/loadData.py", line 88, in load_imagesSinglePatient
[imageData, paddingValues] = applyPadding(imageData, sampleSizes, receptiveField)
File "/data/zhanghang/HyperDenseNet-master/src/HyperDenseNet/Modules/IO/ImgOperations/imgOp.py", line 57, in applyPadding
extra_padding = np.maximum(0, np.asarray(sampleSizes,dtype="int16")-(inputImg_arr+left_padding+right_padding))
ValueError: operands could not be broadcast together with shapes (4,) (3,)

@oomiracle
Copy link
Author

Has anyone encontered the same error with me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant