AdaLAM icon indicating copy to clipboard operation
AdaLAM copied to clipboard

Question about sqlite3.OperationalError: unable to open database file?

Open newforests opened this issue 1 year ago • 0 comments

I put the database.db file and the image_pairs_to_match.txt file into the examples folder, and when I run the match_colmap_database_example.py file in the examples folder, using the conmand:

python match_colmap_database_example.py --database_path autodl-tmp/AdaLAM-master/examples --image_pairs_path autodl-tmp/ AdaLAM-master/examples/image_pairs_to_match.txt which produces an error with the following path:

Traceback (most recent call last): File "match_colmap_database_example.py", line 11, in matcher.match_colmap_database(database_path=opt.database_path, image_pairs_path=opt.image_pairs_path) File "/root/miniconda3/envs/adalam/lib/python3.7/site-packages/adalam/adalam.py", line 189, in match_colmap_database connection = sqlite3.connect(database_path) sqlite3.OperationalError: unable to open database file What is the solution?

newforests avatar Jan 03 '23 06:01 newforests