kopia lustrzana https://github.com/OpenDroneMap/ODM
Poissonrecon threads fix
rodzic
be7ba65264
commit
4265c4be77
|
@ -41,7 +41,7 @@ def create_25dmesh(inPointCloud, outMesh, dsm_radius=0.07, dsm_resolution=0.05,
|
|||
mesh = screened_poisson_reconstruction(dsm_points, outMesh, depth=depth,
|
||||
samples=samples,
|
||||
maxVertexCount=maxVertexCount,
|
||||
threads=available_cores,
|
||||
threads=max(1, available_cores - 1), # poissonrecon can get stuck on some machines if --threads == all cores
|
||||
verbose=verbose)
|
||||
else:
|
||||
raise 'Not a valid method: ' + method
|
||||
|
|
|
@ -27,7 +27,7 @@ class ODMeshingStage(types.ODM_Stage):
|
|||
samples=self.params.get('samples'),
|
||||
maxVertexCount=self.params.get('max_vertex'),
|
||||
pointWeight=self.params.get('point_weight'),
|
||||
threads=self.params.get('max_concurrency'),
|
||||
threads=max(1, self.params.get('max_concurrency') - 1), # poissonrecon can get stuck on some machines if --threads == all cores
|
||||
verbose=self.params.get('verbose'))
|
||||
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue