kopia lustrzana https://github.com/OpenDroneMap/ODM
Tighter max_tiles check
rodzic
54b0ac9bb0
commit
ba1cc39adb
|
@ -152,7 +152,7 @@ def create_dem(input_point_cloud, dem_type, output_type='max', radiuses=['0.56']
|
|||
|
||||
# Safety check
|
||||
if max_tiles is not None:
|
||||
if len(tiles) > max_tiles and final_dem_pixels > get_total_memory() * 10:
|
||||
if len(tiles) > max_tiles and final_dem_pixels > get_total_memory():
|
||||
raise system.ExitException("Max tiles limit exceeded (%s). This is a strong indicator that the reconstruction failed and we would probably run out of memory trying to process this" % max_tiles)
|
||||
|
||||
# Sort tiles by increasing radius
|
||||
|
|
Ładowanie…
Reference in New Issue