Hi,
I am running Photoscan through the Python API and trying to process some images acquired with a MAVIC drone. The script has worked without issues with other datasets from different cameras, but fails with the images from the MAVIC with a CUDA_ERROR_OUT_OF_MEMORY (2) at line 123 message. I have tried reducing the image resultion to a quarter, but the error persists. I am using version 1.4.3, build 6529.
I have attached the complete error message:
MatchPhotos: accuracy = High, preselection = generic, reference, keypoint limit = 40000, tiepoint limit = 4000, apply masks = 0, filter tie points = 0
Using device: TITAN V, 80 compute units, 12066 MB global memory, compute capability 7.0
driver version: 9020, runtime version: 5050
max work group size 1024
max work item sizes [1024, 1024, 64]
Using device: TITAN V, 80 compute units, 12066 MB global memory, compute capability 7.0
driver version: 9020, runtime version: 5050
max work group size 1024
max work item sizes [1024, 1024, 64]
Using device: TITAN V, 80 compute units, 12066 MB global memory, compute capability 7.0
driver version: 9020, runtime version: 5050
max work group size 1024
max work item sizes [1024, 1024, 64]
Using device: TITAN V, 80 compute units, 12066 MB global memory, compute capability 7.0
driver version: 9020, runtime version: 5050
max work group size 1024
max work item sizes [1024, 1024, 64]
[GPU] photo 1: 40000 points
[GPU] photo 3: 40000 points
Warning: cudaStreamDestroy failed: out of memory (2)
Warning: cudaStreamDestroy failed: out of memory (2)
Traceback (most recent call last):
File "/media/bucket/tmp_code/photoscan-drono-monocular.py", line 133, in <module>
main()
File "/media/bucket/tmp_code/photoscan-drono-monocular.py", line 126, in main
process(args.input_path, output_path)
File "/media/bucket/tmp_code/photoscan-drono-monocular.py", line 67, in process
chunk.matchPhotos(accuracy = accuracy, generic_preselection = generic_preselection, reference_preselection = reference_preselection, filter_mask = False, keypoint_limit = keypoints, tiepoint_limit = tiepoints)
RuntimeError: CUDA_ERROR_OUT_OF_MEMORY (2) at line 123
Any ideas? Thanks!