eltwise_layer.cpp:34] Check failed: bottom[0]->shape() == bottom[i]->shape() bottom[0]:

49 views
Skip to first unread message

Shrabani Ghosh

unread,
Jul 12, 2018, 5:21:24 PM7/12/18
to Caffe Users
After running few lines i got this error. How to solve it ? 

I0712 17:08:25.540398  6509 net.cpp:122] Setting up relu5/reshape5D
I0712 17:08:25.540406  6509 net.cpp:129] Top shape: 1 16 20 20 20 (128000)
I0712 17:08:25.540411  6509 net.cpp:137] Memory required for data: 30976000
I0712 17:08:25.540417  6509 layer_factory.hpp:77] Creating layer conv6
I0712 17:08:25.540429  6509 net.cpp:84] Creating Layer conv6
I0712 17:08:25.540437  6509 net.cpp:406] conv6 <- bn5_1
I0712 17:08:25.540446  6509 net.cpp:380] conv6 -> conv6
I0712 17:08:25.540488  6509 net.cpp:122] Setting up conv6
I0712 17:08:25.540496  6509 net.cpp:129] Top shape: 1 1 20 20 20 (8000)
I0712 17:08:25.540501  6509 net.cpp:137] Memory required for data: 31008000
I0712 17:08:25.540510  6509 layer_factory.hpp:77] Creating layer recon
I0712 17:08:25.540519  6509 net.cpp:84] Creating Layer recon
I0712 17:08:25.540525  6509 net.cpp:406] recon <- deconv1
I0712 17:08:25.540531  6509 net.cpp:406] recon <- conv6
I0712 17:08:25.540541  6509 net.cpp:380] recon -> recon
F0712 17:08:25.540557  6509 eltwise_layer.cpp:34] Check failed: bottom[0]->shape() == bottom[i]->shape() bottom[0]: 1 1 100 20 20 (40000), bottom[1]: 1 1 20 20 20 (8000)

Its already a established code. But I am getting error with eltwise layer.

Siyuan

unread,
Jul 12, 2018, 11:00:43 PM7/12/18
to Shrabani Ghosh, Caffe Users
Hi, 
Eltwise layer can not accept two blobs with different shapes, please check your network.



--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/58cd83c7-0ffc-4c73-b31d-62f2b52d8d53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shrabani Ghosh

unread,
Jul 13, 2018, 1:36:12 AM7/13/18
to Caffe Users
I fixed it . Thank You. The reshape was changing the dimension. 
Reply all
Reply to author
Forward
0 new messages