Meshroom: Correct AliceVision build necessary to run the 'dev' branch[question]

Created on 23 Apr 2020  路  7Comments  路  Source: alicevision/meshroom

Hello,

I am trying to test the new feature in the dev version of meshroom. I tried to run the dev branch uncompiled via script along with the windows-snapshot build named "Merge pull request https://github.com/alicevision/AliceVision/pull/770 from alicevision/remove_cxsparse" which seemed the latest. However, with this setup defualt pipe files at Feature Extraction node without a clear hint ("failed to extract sift feature"). I tried to use it with the 2019.2 release binaries but in this case the error was: "--method is not a valid parameter" in the Image Matching node.

The batch script I use to start meshroom is the following:

set PYTHONPATH=%CD% 
set PATH="path to alicevision bin";%PATH%
set ALICEVISION_SENSOR_DB="path to alicevision\cameraSensors.db"
set ALICEVISION_VOCTREE="path to alicevision\vlfeat_K80L3.SIFT.tree"
python meshroom/ui

Notice that I have no problem running the default pipeline with the same input photos and the stable releases of bot AliceVision and Meshroom.

question

All 7 comments

However, with this setup defualt pipe files at Feature Extraction node without a clear hint ("failed to extract sift feature").

Could you put the FeatureExtraction node in verbose=trace and send the full log?
Could you also monitor your RAM usage during the FeatureExtraction computation?

Thanks for the reply! I was not able to reproduce the feature extraction failure, with either the stable build or the afore mentioned snapshot. Instead, I got the failure again n image matching. The log (trace mod) has only 1 relevant line:

ERROR: unrecognised option '--method'
Usage:
...

For the record, the machine has 64 GB of ram and the input images are 6 (4000x3000). Using meshroom 2019.2 with the packaged AliceVision bin the ram caps at 50% usage. During the test no memory leak occurred.

This is the log i get running alicevision snapshopt bin only.
````
C:xxxxxalice_vision_snapshot\bin>.aliceVision_featureExtraction.exe -i "cache\cameraInit.sfm" -o "cache\" -v "trace"
Program called with the following parameters:

  • describerPreset = "normal" (default)
  • describerTypes = "sift" (default)
  • forceCpuExtraction = 0 (default)
  • input = "cache\cameraInit.sfm"
  • maxThreads = 0 (default)
  • output = "cache\"
  • rangeSize = 1 (default)
  • rangeStart = -1 (default)
  • verboseLevel = "trace"

[17:26:36.564293][debug] Job max memory consumption: 944962832 B
[17:26:36.564293][debug] Memory information:
- Total RAM: 63.9515 GB
- Free RAM: 57.9117 GB
- Total swap: 131072 GB
- Free swap: 131068 GB

[17:26:36.569291][debug] # threads for extraction: 6
[17:26:36.937174][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\5.tiff (encoded in sRGB colorspace).
[17:26:36.951169][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\0.tiff (encoded in sRGB colorspace).
[17:26:36.964167][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\3.tiff (encoded in sRGB colorspace).
[17:26:36.981158][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\1.tiff (encoded in sRGB colorspace).
[17:26:36.994154][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\2.tiff (encoded in sRGB colorspace).
[17:26:37.041141][trace] Read image C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\4.tiff (encoded in sRGB colorspace).
[17:26:37.064132][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\5.tiff' [cpu]
[17:26:37.082127][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\3.tiff' [cpu]
[17:26:37.092633][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\0.tiff' [cpu]
[17:26:37.092633][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\1.tiff' [cpu]
[17:26:37.108629][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\2.tiff' [cpu]
[17:26:37.124623][info] Extracting sift features from view 'C:\Users\demo-emmeemme\Desktop\meshroom_bench\input\4.tiff' [cpu]
```

I have some strange behaviour, too; When I use the latest Alicevision snapshot, DepthMap terminates with "cudart64_92.dll missing". When using the Meshroom (this) snapshot, the GUI crashes while running FeatureExtracion. I have yet to investigate the source of the problems.

After enabling verbose level to Trace i get a blank screen in Log secrion, but this is what the command line shows:
1/1 DepthMap

  • commandLine: aliceVision_depthMapEstimation --input "F:/Documentos/Universitat/GEM/Quart/TFG/Projectes Meshroom/Tests/Same Orientation VS Different Vertical/MeshroomCache/StructureFromMotion/2417bfa85a443fbe52236c954a21d6c5d6668d91/sfm.abc" --imagesFolder "F:/Documentos/Universitat/GEM/Quart/TFG/Projectes Meshroom/Tests/Same Orientation VS Different Vertical/MeshroomCache/PrepareDenseScene/0cd82a33e87c6d550e5905a9638d24aad5fe6b69" --downscale 2 --minViewAngle 2.0 --maxViewAngle 70.0 --sgmMaxTCams 10 --sgmWSH 4 --sgmGammaC 5.5 --sgmGammaP 8.0 --refineMaxTCams 6 --refineNSamplesHalf 150 --refineNDepthsToRefine 31 --refineNiters 100 --refineWSH 3 --refineSigma 15 --refineGammaC 15.5 --refineGammaP 8.0 --refineUseTcOrRcPixSize False --exportIntermediateResults False --nbGPUs 0 --verboseLevel trace --output "F:/Documentos/Universitat/GEM/Quart/TFG/Projectes Meshroom/Tests/Same Orientation VS Different Vertical/MeshroomCache/DepthMap/19542b7b4ed2ddafe379aeaf918355fb48d10350" --rangeStart 0 --rangeSize 3
  • logFile: F:/Documentos/Universitat/GEM/Quart/TFG/Projectes Meshroom/Tests/Same Orientation VS Different Vertical/MeshroomCache/DepthMap/19542b7b4ed2ddafe379aeaf918355fb48d10350/0.log
  • elapsed time: 0:00:00.188534
    [2020-05-09 17:45:49,507][ERROR] Error on node computation: Error on node "DepthMap_1(0)":
    Log:

WARNING: downgrade status on node "DepthMap_1(1)" from Status.SUBMITTED to Status.NONE
(...)
WARNING: downgrade status on node "DepthMap_1(199)" from Status.SUBMITTED to Status.NONE
[2020-05-09 17:46:02,445][ERROR] Error during Graph execution Error on node "DepthMap_1(0)":
Log:

Using latest AliceVision compilation. ImageMatching works, but DepthMap doesn't

I think this is a build problem: https://github.com/alicevision/meshroom/issues/887#issuecomment-626220201

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haesenbaerg picture haesenbaerg  路  3Comments

ethansu1992 picture ethansu1992  路  3Comments

ChewBaz picture ChewBaz  路  6Comments

NorthernXY picture NorthernXY  路  3Comments

pr0eXeler0 picture pr0eXeler0  路  5Comments