Forum

Author Topic: Agisoft stucks when calculating the tiled model  (Read 3508 times)

Suesseng

  • Newbie
  • *
  • Posts: 20
    • View Profile
Agisoft stucks when calculating the tiled model
« on: July 06, 2018, 11:15:41 AM »
Hello There,

usually when i m calculating the tiled model i just take the preferences as they come from agisoft
and when i start calculating it just goes fine.

I did this with models with up to 80 000 000 points in the dense point cloud without a problem.

Now i have a model (about 6 ooo ooo points in the dense point cloud) an when i start calculating the tiled model
the Computer stucks because all 16 GB memory is used....

I already changed the pixelsize from 0.0275146 (this is proposed by agisoft) to 2.75146 but again al my memory is used.

Could you help me out, i dont no how to solve the problem because usually it worked out just fine.

Thanks alot,

Riko

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14860
    • View Profile
Re: Agisoft stucks when calculating the tiled model
« Reply #1 on: July 06, 2018, 04:14:24 PM »
Hello Rico,

Do you have the processing log related to the failed operation?

How many images are there in the project and what's their resolution?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Suesseng

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Agisoft stucks when calculating the tiled model
« Reply #2 on: July 09, 2018, 01:59:20 PM »
Hello,

there are 46 Cameras with a resolution of 4896x3672


This is the log:

2018-07-09 10:20:25 Agisoft PhotoScan Professional Version: 1.3.4 build 5067 (64 bit)
2018-07-09 10:20:25 Platform: Windows
2018-07-09 10:20:25 OpenGL Vendor: NVIDIA Corporation
2018-07-09 10:20:25 OpenGL Renderer: GeForce GTX 750/PCIe/SSE2
2018-07-09 10:20:25 OpenGL Version: 4.4.0 NVIDIA 344.60
2018-07-09 10:20:25 Maximum Texture Size: 16384
2018-07-09 10:20:25 Quad Buffered Stereo: not enabled
2018-07-09 10:20:25 ARB_vertex_buffer_object: supported
2018-07-09 10:20:25 ARB_texture_non_power_of_two: supported
2018-07-09 10:20:25 Using simple console. Rich console can be enabled in Preferences dialog.
2018-07-09 10:20:26 LoadProject
2018-07-09 10:20:26 Loading project...
2018-07-09 10:20:26 loaded project in 0.656 sec
2018-07-09 10:20:26 Finished processing in 0.656 sec (exit code 1)
2018-07-09 11:46:28 Finished processing in 0 sec (exit code 1)
2018-07-09 11:46:35 BuildTiledModel: source data = Dense cloud, pixel size = 0.0275146, tile size = 512
2018-07-09 11:46:36 grid: 21x19x27 (6 levels)
2018-07-09 11:46:36 selected 36 cameras
2018-07-09 11:46:36 Preprocessing images...
2018-07-09 11:46:36 preprocessing images... done in 23.282 sec
2018-07-09 11:46:59 level 0
2018-07-09 11:46:59 Generating mesh...
2018-07-09 11:46:59 Grid size: 127 x 127 x 127
2018-07-09 11:46:59 Tree depth: 7
2018-07-09 11:46:59 Tree set in 0.055s (9408 points)
2018-07-09 11:46:59 Leaves/Nodes: 78282/89465
2018-07-09 11:46:59 Laplacian constraints set in 0.098s
2018-07-09 11:46:59 Depth[0/7]: 1
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0 / 0
2018-07-09 11:46:59 Depth[1/7]: 8
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0 / 0.000999928
2018-07-09 11:46:59 Depth[2/7]: 64
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0 / 0.00300002
2018-07-09 11:46:59 Depth[3/7]: 512
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0 / 0.00600004
2018-07-09 11:46:59 Depth[4/7]: 4096
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0.013 / 0.02
2018-07-09 11:46:59 Depth[5/7]: 32768
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0.04 / 0.02
2018-07-09 11:46:59 Depth[6/7]: 18256
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0.0139999 / 0.0209999
2018-07-09 11:46:59 Depth[7/7]: 33760
2018-07-09 11:46:59    Evaluated / Got / Solved in: 0 / 0.0310006 / 0.0289993
2018-07-09 11:46:59 Linear system solved in 0.212s
2018-07-09 11:46:59 Got Iso-value in 0.01s
2018-07-09 11:46:59 Iso-Value -0.134565
2018-07-09 11:46:59 21567 faces extracted in 0.104s
2018-07-09 11:46:59 Decimating mesh...
2018-07-09 11:46:59 decimating mesh (16888 -> 383)... done in 0.041 sec
2018-07-09 11:46:59 Parameterizing tiles...
2018-07-09 11:46:59 parameterizing tiles... done in 0.01 sec
2018-07-09 11:46:59 initializing selector... done in 0 sec
2018-07-09 11:46:59 selected 36 cameras in 0 sec
2018-07-09 11:46:59 selected 1 blocks in 0 sec
2018-07-09 11:46:59 initializing renderer... done in 0 sec
2018-07-09 11:46:59 Blending textures...
2018-07-09 11:46:59 calculating mesh connectivity... done in 0 sec
2018-07-09 11:46:59 estimating quality... ***********************************?Finished processing in 1431.15 sec (exit code 0)
2018-07-09 12:10:28 Error: bad allocation
>>>


Thanks for your help,

Riko

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14860
    • View Profile
Re: Agisoft stucks when calculating the tiled model
« Reply #3 on: July 09, 2018, 02:39:14 PM »
Hello Riko,

"bad allocation" error means that there's not enough memory to complete the operation.

I can suggest to install latest release version of 1.4 (1.4.3 build 6488) and enable "Fine level task distribution" option in the Network Preferences tab for Build Tiled Model operation, then PhotoScan will process the task in smaller sub-jobs, thus lower amount of RAM would be required.
Best regards,
Alexey Pasumansky,
Agisoft LLC