szagoruyko / cvpr15deepcompare

Code and models for "Learning to Compare Image Patches via Convolutional Neural Networks"
http://imagine.enpc.fr/~zagoruys/deepcompare.html
Other
468 stars 169 forks source link

how to combine two different size images into a 2-channel image in 2ch2stream model #44

Open Eric-hhh opened 3 years ago

Eric-hhh commented 3 years ago

SPP only resizes the images into the same size AFTER a series of convolution layers but 2ch2stream model needs to convert two comparing images into one 2-channel image BEFORE convolution. So how can I complete this process with two different size images ? After all, one image with different size channels is uncommon. Thank you.

Eric-hhh commented 3 years ago

Maybe simple cropping or padding can make it, I guess.