feature_matching_utils_test fails on GPU builds without OpenSSL or curl
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 85/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- cmake, cpp
- Ambito
- computer-vision, testing
Direzione di ricerca
Inizia dall'ultimo blocco di FeatureMatcherController.SetupPropagatesMatcherCreationErrors in controllers/feature_matching_utils_test, che viene eseguito solo con un dispositivo CUDA. Controlla kDefaultFlexGlueMatcherUri in src/colmap/feature/resources.h, che è vuoto senza supporto al download. Fai puntare matcher_model_path a un file mancante nel test, come già avviene per descriptor_model_path. È completato quando il test passa sia con sia senza supporto al download, e Setup() continua a fallire sul modello mancante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
FeatureMatcherController.SetupPropagatesMatcherCreationErrors (in controllers/feature_matching_utils_test, added in #4957) fails on a machine with a CUDA device when COLMAP is built without download support.
The last block of the test runs only with a CUDA device. It sets flexglue->descriptor_model_path to a missing file, but it leaves matcher_model_path at its default, kDefaultFlexGlueMatcherUri. Without COLMAP_DOWNLOAD_ENABLED, that default is "" (src/colmap/feature/resources.h). So FlexGlueMatchingOptions::Check() fails on !matcher_model_path.empty(), and the FeatureMatcherController constructor throws before Setup() runs:
[flexglue.cc:491] Check failed: !matcher_model_path.empty()
C++ exception with description "[feature_matching_utils.cc:361] Check failed: matching_options_.Check() " thrown in the test body.
CI probably doesn't hit this because its runners either have no CUDA device or build with download support.
To Reproduce
- Build on a machine with a CUDA GPU, without the curl/OpenSSL dev packages. CMake then prints "Disabling download support (Curl/Crypto not found)".
- Run
ctest -R controllers/feature_matching_utils_test --output-on-failure. - See the error above.
Expected behavior
Check() passes, and Setup() fails on the missing model, as the test intends.
Suggested fix: point matcher_model_path at the missing file too, as the test already does for descriptor_model_path:
flexglue_options.flexglue->matcher_model_path =
(data.test_dir / "missing_model.onnx").string();
Confirmed on the same machine and commit: built without download support, the test fails as above. After installing libcurl4-openssl-dev and libssl-dev, so that CMake prints "Enabling download support", the test passes unchanged (with the CUDA 12 runtime and cuBLAS that the bundled ONNX Runtime CUDA provider needs).
Screenshots
N/A
Environment:
- OS: Ubuntu 24.04.3 LTS on WSL2; CUDA 13.3; NVIDIA GeForce RTX 5070 Ti (driver 610.88)
- COLMAP Version: a branch on top of main 3c1a1b95 that does not touch FlexGlue,
resources.hor this test;ONNX_ENABLED=ON - Capture Device: N/A
- Lingua principale
- C++
- Stelle
- 12.9k
- Fork
- 2.2k
- Merge medio
- 1g 21h
- PR unite (30g)
- 76
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di colmap/colmap
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 2 giorni
-
FETCH_ONNX build links against a system ONNX Runtime instead of the downloaded one (find_package uses PATHS, not HINTS)Forse già presa @cola1917 l’ha presa 15 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
colmap/colmap#4919 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Incorrect image-plane bounds for off-center cameras in visualize_model.pyForse già presa @wuyuze713 l’ha presa 29 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 2 giorni
-
Linking errorAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
colmap/colmap#1385 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di colmap/colmap
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Malformed mark-up in translationsForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaBug Translations
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
wesnoth/wesnoth#11728 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
rpm-software-management/dnf5#3043 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
test(tools): two testkit cache tests fail unless GOCACHE and GOMODCACHE are in the environmentApertabacklog
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
EchoTools/nevr-runtime#2385 ·
I maintainer di solito rispondono entro 1 giorno