DocTr icon indicating copy to clipboard operation
DocTr copied to clipboard

what does" bm = (2 * (bm / 286.8) - 1) * 0.99" in inference.py mean?

Open quynhanh12345 opened this issue 3 years ago • 5 comments

quynhanh12345 avatar Mar 14 '22 15:03 quynhanh12345

Hi, we use the code "bm = (2 * (bm / 286.8) - 1) * 0.99" rather than "bm = (2 * (bm / 287) - 1)". The goal is to compensate the coordinate bias from the dataset, which would cause the shifting of the rectified image.

fh2019ustc avatar Mar 15 '22 03:03 fh2019ustc

did the code "bm = (2 * (bm / 286.8) - 1) * 0.99" use on the pred bm when calculate the BM L1 loss

lsabrinax avatar Aug 04 '22 03:08 lsabrinax

@lsabrinax It is not used to calculate the flow loss.

fh2019ustc avatar Aug 04 '22 05:08 fh2019ustc

@lsabrinax It is not used to calculate the flow loss.

thank you for your reply, does it mean the GeoTr model directly regress the absolute value in flow between 0-287

lsabrinax avatar Aug 05 '22 02:08 lsabrinax

@lsabrinax Yeah~

fh2019ustc avatar Aug 05 '22 04:08 fh2019ustc