Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct AliceVision build necessary to run the 'dev' branch[question] #865

Closed
raphael2692 opened this issue Apr 23, 2020 · 7 comments
Closed

Comments

@raphael2692
Copy link

raphael2692 commented Apr 23, 2020

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 alicevision/AliceVision#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.

@fabiencastan
Copy link
Member

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?

@raphael2692
Copy link
Author

raphael2692 commented Apr 23, 2020

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.

@raphael2692
Copy link
Author

This is the log i get running alicevision snapshopt bin only.

C:\xxxxx\alice_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]
```

@natowi
Copy link
Member

natowi commented May 5, 2020

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.

@miquelrosell99
Copy link

miquelrosell99 commented May 9, 2020

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

@natowi
Copy link
Member

natowi commented May 9, 2020

I think this is a build problem: #887 (comment)

@natowi
Copy link
Member

natowi commented Jun 13, 2020

Fixed by alicevision/AliceVision#776

@natowi natowi closed this as completed Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants