From d8cecc02154c9b178098555bff50a3169c9a5f45 Mon Sep 17 00:00:00 2001 From: Dakota Benjamin Date: Fri, 1 Sep 2017 11:31:22 -0400 Subject: [PATCH] Use an updated version of OpenSfM for better memory management Former-commit-id: 71ce34662e14eb976752a42f1b8d9b301dca15b5 --- SuperBuild/cmake/External-OpenSfM.cmake | 4 ++-- opendm/config.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SuperBuild/cmake/External-OpenSfM.cmake b/SuperBuild/cmake/External-OpenSfM.cmake index cd78ee8f..c359ff3b 100644 --- a/SuperBuild/cmake/External-OpenSfM.cmake +++ b/SuperBuild/cmake/External-OpenSfM.cmake @@ -8,8 +8,8 @@ ExternalProject_Add(${_proj_name} STAMP_DIR ${_SB_BINARY_DIR}/stamp #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} - URL https://github.com/mapillary/OpenSfM/archive/v0.1.0.tar.gz - URL_MD5 0C46922C61F7CA54D272FBB4CC7FFBBB + URL https://github.com/mapillary/OpenSfM/archive/0a5a6f07b66088e9b63bddaf29bb8f49dd39f9e4.zip + URL_MD5 2ed2c4a31801ddd57740261aaaf97ac9 #--Update/Patch step---------- UPDATE_COMMAND "" #--Configure step------------- diff --git a/opendm/config.py b/opendm/config.py index b4da1205..1e1d3c81 100644 --- a/opendm/config.py +++ b/opendm/config.py @@ -139,7 +139,7 @@ def config(): parser.add_argument('--opensfm-processes', metavar='', - default=1, + default=context.num_cores, type=int, help=('The maximum number of processes to use in dense ' 'reconstruction. Default: %(default)s'))