kopia lustrzana https://github.com/OpenDroneMap/ODM
				
				
				
			add num_threads tied to max_concurrency
							rodzic
							
								
									b8e9ee77a4
								
							
						
					
					
						commit
						8c320a4d4b
					
				|  | @ -102,6 +102,7 @@ class ODMMvsTexStage(types.ODM_Stage): | ||||||
|                     'keepUnseenFaces': keepUnseenFaces, |                     'keepUnseenFaces': keepUnseenFaces, | ||||||
|                     'toneMapping': 'none', |                     'toneMapping': 'none', | ||||||
|                     'nadirMode': nadir, |                     'nadirMode': nadir, | ||||||
|  |                     'numThreads': '--num_threads=%s' % args.max_concurrency, | ||||||
|                     'maxTextureSize': '--max_texture_size=%s' % max_texture_size, |                     'maxTextureSize': '--max_texture_size=%s' % max_texture_size, | ||||||
|                     'nvm_file': r['nvm_file'], |                     'nvm_file': r['nvm_file'], | ||||||
|                     'intermediate': '--no_intermediate_results' if (r['labeling_file'] or not reconstruction.multi_camera) else '', |                     'intermediate': '--no_intermediate_results' if (r['labeling_file'] or not reconstruction.multi_camera) else '', | ||||||
|  | @ -124,6 +125,7 @@ class ODMMvsTexStage(types.ODM_Stage): | ||||||
|                         '{keepUnseenFaces} ' |                         '{keepUnseenFaces} ' | ||||||
|                         '{nadirMode} ' |                         '{nadirMode} ' | ||||||
|                         '{labelingFile} ' |                         '{labelingFile} ' | ||||||
|  |                         '{numThreads} ' | ||||||
|                         '{maxTextureSize} '.format(**kwargs)) |                         '{maxTextureSize} '.format(**kwargs)) | ||||||
| 
 | 
 | ||||||
|                 if r['primary'] and (not r['nadir'] or args.skip_3dmodel): |                 if r['primary'] and (not r['nadir'] or args.skip_3dmodel): | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Stephen Mather
						Stephen Mather