Forum

Author Topic: Metashape crashing when generating Tiled model with TLS and drone data  (Read 790 times)

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Hello,


after initial problems of joining drone data and TLS data, we have successfully generated arbitrary mesh. After this we wanted to generated tiled mesh in the same project, but metashape crashes every time we try to do so. We have tried to disable GPU for this step as suggested on forum, but without success, it crashes again during preprocessing.


we are on windows version of 1.7.5. build 13229 (64 bit)


Log of this event with GPU on is bellow:


2021-10-15 16:17:28 BuildTiledModel: source data = Depth maps, pixel size = 0.0315377, tile size = 512, face count = Low, ghosting filter = 0, quality = High, depth filtering = Moderate, PM version, reuse depth maps
2021-10-15 16:17:28 Generating tiled model...
2021-10-15 16:17:28 initializing...
2021-10-15 16:17:28 pixel size: 0.0315377
2021-10-15 16:17:28 tile size: 512
2021-10-15 16:17:28 grid: 78x60x29 (8 levels)
2021-10-15 16:17:57 selected 1101 cameras in 29.206 sec
2021-10-15 16:17:57 selected 1106 cameras
2021-10-15 16:17:57 scheduled 56 downscale groups
2021-10-15 16:17:57 saved tiled model data in 0.004 sec
2021-10-15 16:17:57 saved camera partition in 0.003 sec
2021-10-15 16:17:57 model block sizes: 16, 0, 0, 0, 0, 8, 8, 8
2021-10-15 16:17:57 Level 0: scheduled 33 model blocks
2021-10-15 16:17:57 Level 1: scheduled 0 model blocks
2021-10-15 16:17:57 Level 2: scheduled 0 model blocks
2021-10-15 16:17:57 Level 3: scheduled 0 model blocks
2021-10-15 16:17:57 Level 4: scheduled 0 model blocks
2021-10-15 16:17:57 Level 5: scheduled 1 model blocks
2021-10-15 16:17:57 Level 6: scheduled 1 model blocks
2021-10-15 16:17:57 Level 7: scheduled 1 model blocks
2021-10-15 16:17:57 loaded tiled model data in 0.002 sec
2021-10-15 16:17:57 loaded camera partition in 0 sec
2021-10-15 16:17:57 Preprocessing images...
2021-10-15 16:17:57 preprocessing images... done in 3.705 sec
2021-10-15 16:18:01 loaded tiled model data in 0.002 sec
2021-10-15 16:18:01 loaded camera partition in 0 sec
2021-10-15 16:18:01 Preprocessing images...
2021-10-15 16:18:01 preprocessing images... done in 3.011 sec
2021-10-15 16:18:04 loaded tiled model data in 0.001 sec
2021-10-15 16:18:04 loaded camera partition in 0 sec
2021-10-15 16:18:04 Preprocessing images...
2021-10-15 16:18:04 preprocessing images... done in 2.897 sec
2021-10-15 16:18:07 loaded tiled model data in 0.002 sec
2021-10-15 16:18:07 loaded camera partition in 0 sec
2021-10-15 16:18:07 Preprocessing images...
2021-10-15 16:18:07 preprocessing images... done in 2.734 sec
2021-10-15 16:18:10 loaded tiled model data in 0.001 sec
2021-10-15 16:18:10 loaded camera partition in 0 sec
2021-10-15 16:18:10 Preprocessing images...
2021-10-15 16:18:10 preprocessing images... done in 2.854 sec
2021-10-15 16:18:13 loaded tiled model data in 0.001 sec
2021-10-15 16:18:13 loaded camera partition in 0 sec
2021-10-15 16:18:13 Preprocessing images...
2021-10-15 16:18:13 preprocessing images... done in 2.871 sec
2021-10-15 16:18:16 loaded tiled model data in 0.001 sec
2021-10-15 16:18:16 loaded camera partition in 0 sec
2021-10-15 16:18:16 Preprocessing images...
2021-10-15 16:18:16 preprocessing images... done in 5.8 sec
2021-10-15 16:18:21 loaded tiled model data in 0.001 sec
2021-10-15 16:18:21 loaded camera partition in 0 sec
2021-10-15 16:18:21 Preprocessing images...
2021-10-15 16:18:21 preprocessing images... done in 3.083 sec
2021-10-15 16:18:24 loaded tiled model data in 0.001 sec
2021-10-15 16:18:24 loaded camera partition in 0 sec
2021-10-15 16:18:24 Preprocessing images...
2021-10-15 16:18:24 preprocessing images... done in 2.874 sec
2021-10-15 16:18:27 loaded tiled model data in 0.001 sec
2021-10-15 16:18:27 loaded camera partition in 0.001 sec
2021-10-15 16:18:27 Preprocessing images...
2021-10-15 16:18:27 preprocessing images... done in 3.248 sec
2021-10-15 16:18:31 loaded tiled model data in 0.002 sec
2021-10-15 16:18:31 loaded camera partition in 0 sec
2021-10-15 16:18:31 Preprocessing images...
2021-10-15 16:18:31 preprocessing images... done in 3.475 sec
2021-10-15 16:18:34 loaded tiled model data in 0.001 sec
2021-10-15 16:18:34 loaded camera partition in 0 sec
2021-10-15 16:18:34 Preprocessing images...
2021-10-15 16:18:34 preprocessing images... done in 3.284 sec
2021-10-15 16:18:37 loaded tiled model data in 0.001 sec
2021-10-15 16:18:37 loaded camera partition in 0 sec
2021-10-15 16:18:37 Preprocessing images...
2021-10-15 16:18:37 preprocessing images... done in 3.168 sec
2021-10-15 16:18:41 loaded tiled model data in 0.001 sec
2021-10-15 16:18:41 loaded camera partition in 0 sec
2021-10-15 16:18:41 Preprocessing images...
2021-10-15 16:18:41 preprocessing images... done in 3.165 sec
2021-10-15 16:18:44 loaded tiled model data in 0.002 sec
2021-10-15 16:18:44 loaded camera partition in 0 sec
2021-10-15 16:18:44 Preprocessing images...
2021-10-15 16:18:44 preprocessing images... done in 12.079 sec
2021-10-15 16:18:56 loaded tiled model data in 0.002 sec
2021-10-15 16:18:56 loaded camera partition in 0 sec
2021-10-15 16:18:56 Preprocessing images...
2021-10-15 16:18:56 preprocessing images... done in 21.563 sec
2021-10-15 16:19:17 loaded tiled model data in 0.001 sec
2021-10-15 16:19:17 loaded camera partition in 0 sec
2021-10-15 16:19:17 Preprocessing images...
2021-10-15 16:19:17 preprocessing images... done in 30.201 sec
2021-10-15 16:19:48 loaded tiled model data in 0.002 sec
2021-10-15 16:19:48 loaded camera partition in 0 sec
2021-10-15 16:19:48 Preprocessing images...
2021-10-15 16:19:48 preprocessing images... done in 30.166 sec
2021-10-15 16:20:18 loaded tiled model data in 0.002 sec
2021-10-15 16:20:18 loaded camera partition in 0 sec
2021-10-15 16:20:18 Preprocessing images...
2021-10-15 16:20:18 preprocessing images... done in 29.928 sec
2021-10-15 16:20:48 loaded tiled model data in 0.001 sec
2021-10-15 16:20:48 loaded camera partition in 0.001 sec
2021-10-15 16:20:48 Preprocessing images...
2021-10-15 16:20:48 preprocessing images... 2021-10-15 16:21:08 Agisoft Metashape Professional Version: 1.7.5 build 13229 (64 bit)
2021-10-15 16:21:08 Platform: Windows
2021-10-15 16:21:08 CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (desktop)
2021-10-15 16:21:08 CPU family: 6 model: 158 signature: 906EDh
2021-10-15 16:21:08 RAM: 63.9 GB
2021-10-15 16:21:08 OpenGL Vendor: NVIDIA Corporation
2021-10-15 16:21:08 OpenGL Renderer: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
2021-10-15 16:21:08 OpenGL Version: 4.6.0 NVIDIA 472.12
2021-10-15 16:21:08 Maximum Texture Size: 32768
2021-10-15 16:21:08 Quad Buffered Stereo: not enabled
2021-10-15 16:21:08 ARB_vertex_buffer_object: supported
2021-10-15 16:21:08 ARB_texture_non_power_of_two: supported

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13210
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #1 on: October 15, 2021, 06:29:55 PM »
Hello MichalDV,

Looks like the problem occurs, when the source images are being read. If the issue is caused by corrupted files, you can try to disable half of the images in the set and try again, if it crashes, repeat with the second half of the dataset.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #2 on: October 16, 2021, 05:03:11 PM »
It behaves interesting, When I enable only TLS group it works fine, when I enable only drone group it also works fine. I'm already in contact with support but maybe someone from community have more info on this.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13210
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #3 on: October 17, 2021, 08:18:11 PM »
Hello MichalDV,

We have analyzed the issue and it appears that the problem is related to the mixture of different image formats (8-bit and floating point data in your case) in tiled model generation procedure (during the image preprocessing stage in particular). The fix will be included to the next version update.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #4 on: October 17, 2021, 11:06:49 PM »
Thank you, in meanwhile I will try to find some temporary workaround.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13210
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #5 on: October 25, 2021, 02:25:26 PM »
Hello MichalDV,

The fix is included to 1.7.6 pre-release version update (build 13315), please let me know, if you manage to process the original data (drone photos + TLS scans) together now:

http://download.agisoft.com/metashape-pro_1_7_6_x64.msi                            Windows
http://download.agisoft.com/metashape-pro_1_7_6.dmg                                   macOS
http://download.agisoft.com/metashape-pro_1_7_6_amd64.tar.gz                   Linux
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #6 on: October 28, 2021, 12:04:31 PM »
I was able to finish processing using new version and with low quality settings for sake of time, but texture is all black and white and wierdly blownup.
used settings for processing:

depth maps: quality = Low, depth filtering = Mild, PM version
Tiled Model: source data = Depth maps, pixel size = 0.1, tile size = 512, face count = Low, ghosting filter = 0

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #7 on: October 29, 2021, 01:16:31 PM »
I've tried processing same dataset again, but it is still crashing later in processing.

First it will throw warning during buildTextureBlock  -  finished #0 BuildTiledModel.buildTextureBlock (8/20): Texture and page data types mismatch

And later it cannot find those texture blocks and fails completely  - 

2021-10-27 13:12:58 Error: Can't open file: The system cannot find the file specified (2): k:/kezmarok_SRC/ruzbachy/laser_forum.files/0/0/tiled_model.5/tex53.dat
2021-10-27 13:12:58 processing failed in 5.162 sec

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13210
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #8 on: October 29, 2021, 04:21:40 PM »
Hello MichalDV,

Thank you for the update on the issue, will try to reproduce both problems.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MichalDV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Metashape crashing when generating Tiled model with TLS and drone data
« Reply #9 on: November 04, 2021, 08:47:02 PM »
Hello MichalDV,

Thank you for the update on the issue, will try to reproduce both problems.

Hi Alexey,

did you have any success reproducing our issues?