Skip to content

Commit 5d4862e

Browse files
Ensure mvs-texturing respects max_concurrency flag (#1913)
1 parent b8e9ee7 commit 5d4862e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stages/mvstex.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def add_run(nvm_file, primary=True, band=None):
102102
'keepUnseenFaces': keepUnseenFaces,
103103
'toneMapping': 'none',
104104
'nadirMode': nadir,
105+
'numThreads': '--num_threads=%s' % args.max_concurrency,
105106
'maxTextureSize': '--max_texture_size=%s' % max_texture_size,
106107
'nvm_file': r['nvm_file'],
107108
'intermediate': '--no_intermediate_results' if (r['labeling_file'] or not reconstruction.multi_camera) else '',
@@ -124,6 +125,7 @@ def add_run(nvm_file, primary=True, band=None):
124125
'{keepUnseenFaces} '
125126
'{nadirMode} '
126127
'{labelingFile} '
128+
'{numThreads} '
127129
'{maxTextureSize} '.format(**kwargs))
128130

129131
if r['primary'] and (not r['nadir'] or args.skip_3dmodel):

0 commit comments

Comments
 (0)