phillipi / pix2pix

Image-to-image translation with conditional adversarial nets
https://phillipi.github.io/pix2pix/
Other
10.11k stars 1.71k forks source link

Update batch_hed.py #191

Closed salisbury-espinosa closed 4 years ago

salisbury-espinosa commented 4 years ago

cause in https://github.com/s9xie/hed/blob/master/examples/hed/deploy.prototxt pad is 35 convolution_param { engine: CAFFE num_output: 64 pad: 35 kernel_size: 3 } }

salisbury-espinosa commented 4 years ago

for example

test2

without patch result:

invalid_edge

with patched code result: correct_edge

junyanz commented 4 years ago

Thanks!