Pytorch-Correlation-extension icon indicating copy to clipboard operation
Pytorch-Correlation-extension copied to clipboard

parameter setting problem

Open z-fy-31 opened this issue 4 years ago • 1 comments
trafficstars

I used the correlation_package used in Flownet2 of NVIDIA and the parameters are

self.corr = Correlation(pad_size=4, kernel_size=1, max_displacement=4, stride1=1, stride2=1, corr_multiply=1)

and now I use spatial-correlation-sampler with the parameters:

out_corr = spatial_correlation_sample(input1, input2, kernel_size=1, patch_size=9, stride=1, padding=0, dilation_patch=1)

However, I got different results with these correlation-packages. What's wrong? Thanks.

z-fy-31 avatar Nov 09 '21 14:11 z-fy-31

Can you post a replication script and an output sample as well ? I agree with you that your parameter seem good and should produce the same result, as long as the inputs are the same.

ClementPinard avatar Nov 09 '21 14:11 ClementPinard