LoFTR icon indicating copy to clipboard operation
LoFTR copied to clipboard

NameError: name 'conf_min' is not defined

Open Billy-Mazotti opened this issue 2 years ago • 2 comments

I am unable to run the demo.

SETUP:

  • Ubuntu 18.04
  • "loftr" conda environment created and activated, and matcher installed per installation instructions
  • weights downloaded from "download link" and weights folder moved to ~/LoFTR
  • file "~/LoFTR/demo/run_demo.sh" was edited s.t. line 17 is now "model_ckpt=../weights/indoor_ds_new.ckpt" to comply with new weights file name

ERROR: ~/LoFTR/demo$ ./run_demo.sh Running LoFTR demo.. . . . optional arguments section . . .

Traceback (most recent call last): File "demo_loftr.py", line 182, in f'Confidence Range: {conf_min:.2f}:{conf_max:.2f}', NameError: name 'conf_min' is not defined

Billy-Mazotti avatar Jun 22 '22 21:06 Billy-Mazotti

我想知道你是否解决了这个问题,因为我在户外数据上进行测试,没有出现上述问题,然而在户内数据集的权重测试出现了上述问题。

wly-ysu avatar Nov 14 '22 00:11 wly-ysu

I have encountered the same problemm, have you solved it ?

this is my command:

python demo_loftr.py --weight ../weights/indoor_ds.ckpt --save_video --input ./images/ --image_glob *.jpg --output_dir ./output/

Caczhtus avatar Dec 21 '22 10:12 Caczhtus