This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIDL 01.00 Image Scaling on Deconvolution Layer

Hi,

I want to scale image from 2x2 to 4x4 with nearest neighbor method on deconvolutoin layer.

Here is the prototxt file.

layer {
  name: "data_deconv_0"
  type: "Deconvolution"
  bottom: "data_0"
  top: "data_deconv_0"
  convolution_param {
    num_output: 2
    bias_term: false
    pad: 0
    kernel_size: 2
    group: 2
    stride: 2
    weight_filler {
      type: "constant"
      value: 1.0
    }
  }

When I run this deconvolution layer on TIDL 01.00, I can't get the image scaling with the nearest neighbor method.

The input data is

[1 2;

 3 4]

The output data on TIDL 01.00 is

[1 2 2 0;

 3 4 4 0;

 3 4 4 0;

 0 0 0 0]

But, the output data with the nearest neighbor method should be:

[1 1 2 2;

 1 1 2 2;

 3 3 4 4;

 3 3 4 4]

Can you help me to get the output data with the nearest neighbor method on deconvolution layer? or another method?

Thanks and Regards,

Ahan Tseng