Просмотр исходного кода

use scaled intrinsics for compat with paper results.

Johan Edstedt 2 лет назад
Родитель
Сommit
a29f1ad7e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      roma/benchmarks/megadepth_pose_estimation_benchmark.py

+ 1 - 1
roma/benchmarks/megadepth_pose_estimation_benchmark.py

@@ -62,7 +62,7 @@ class MegaDepthPoseEstimationBenchmark:
                     w1, h1 = im_A.size
                     im_B = Image.open(im_B_path)
                     w2, h2 = im_B.size
-                    if False:
+                    if True: # Note: we keep this true as it was used in DKM/RoMa papers. There is very little difference compared to setting to False. 
                         scale1 = 1200 / max(w1, h1)
                         scale2 = 1200 / max(w2, h2)
                         w1, h1 = scale1 * w1, scale1 * h1