Concat 2 blobs

48 views
Skip to first unread message

Stefano Lombardi

unread,
Feb 16, 2016, 3:42:52 AM2/16/16
to Caffe Users
hi!
 how can i concatenate 2 blobs with different dimension? for example i have:

layers {
  name: "concat"
  bottom: "scale_factor"
  bottom: "ip1"
  top: "concat"
  type: CONCAT
  concat_param {
    axis: 1
  }
}


with scale factor with dimension [64] and  ip1m with dimension [500x64]

Thanks!
Stefano

Lisa

unread,
Feb 27, 2016, 2:04:23 AM2/27/16
to Caffe Users
Do you want a blob that is of size 501x64?  If that is the case you should reshape your scale factor to 1X64 then concat axis 0.
Reply all
Reply to author
Forward
0 new messages