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

Hybrid Feature #43

Closed
Charlotte0592 opened this issue Jul 25, 2019 · 0 comments
Closed

Hybrid Feature #43

Charlotte0592 opened this issue Jul 25, 2019 · 0 comments

Comments

@Charlotte0592
Copy link

Hello, when I mixed the features between 2D and 3D, there was a problem:

Traceback most recent call last) :
File "test.py". line 121, in -module>
predict(args)
File "test.py". line 48, in predict
model = dense_ rnn_ net(args )
File " /home/H- DenseUNet/hybridnet.py" line 415, in dense_ rnn_ net
final = add([feature3d, fea2d])
File "Keras-2.0. 8/keras/layers/merge.py line 5l9, in add
return Add(**kwa rgs ) (inputs )
File "Keras 2.0.8/keras/ engine/topology.py". line 577, in_ call__
self . build(input_ shapes)
File "Keras 2.0.8/keras/layers/mergepy" line 84, in build
output_ shape = self._ compute_ elemwise_ op_ output_ shape(output_ shape, shape )
File "Keras-2. 0.8/keras/layers/merge.py line 55, in_ compute_ elemwise_ op_ output. shape
str(shapel) + " ' + str(shape2))
ValueError: Operands could not be broadcast together with shapes (224. 224, 4, 64) (224, 224, 3, 64)

Can you give me some help?

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