proteus1991/GridDehazeNet

some issues about code

Closed this issue · 1 comments

hello, I have some issues about code,
image

1.how do the parameter “output_size” work when the size of feature map is odd? by zero padding or other ways?
2. If zero padding is not added during training and zero padding needs to be added during testing, will there be performance degradation?

thanks

Hi, I will try to answer your questions as follows.

  1. "output_size" is a parameter to give the exact output size you defined. To my understanding, it is similar to the "same" parameter in TensorFlow, which is achieved by zero padding as default.
  2. I didn't test this case in detail. Intuitively, I believe there exists performance degradation, but it may be negligible.

If you have any other question, please let me know.