alicevision / Meshroom

3D Reconstruction Software
http://alicevision.org
Other
11.05k stars 1.08k forks source link

[bug] FeatureExtraction fails if the path to images contains a non-ASCII character #2509

Open xDEADC0DE opened 3 weeks ago

xDEADC0DE commented 3 weeks ago

Describe the bug FeatureExtraction fails with the message [14:14:50.784266][info] Job max memory consumption for one image: 825 MB if the path to images contains a non-ASCII character

To Reproduce Steps to reproduce the behavior:

  1. Open Meshroom
  2. Drag and drop photos from a folder with a non-ASCII character. I used E:\tést\photos
  3. Save the project in the same folder as the photos, I used E:\tést\tmp.mg
  4. Run the node FeatureExtraction
  5. Get the error message

Expected behavior No error message. Doing the same steps as above with test instead of `tést´ works perfectly.

Log


Hardware : 
    Detected core count : 24
    OpenMP will use 24 cores
    Detected available memory : 20655 Mo

[14:14:50.613481][info] CUDA-Enabled GPU.
Device information:
    - id:                      0
    - name:                    NVIDIA GeForce GTX 1060 6GB
    - compute capability:      6.1
    - clock frequency (kHz):   1784500
    - total device memory:     6143 MB 
    - device memory available: 5207 MB 
    - per-block shared memory: 49152
    - warp size:               32
    - max threads per block:   1024
    - max threads per SM(X):   2048
    - max block sizes:         {1024,1024,64}
    - max grid sizes:          {2147483647,65535,65535}
    - max 2D array texture:    {131072,65536}
    - max 3D array texture:    {16384,16384,16384}
    - max 2D linear texture:   {131072,65000,2097120}
    - max 2D layered texture:  {32768,32768,2048}
    - number of SM(x)s:        10
    - registers per SM(x):     65536
    - registers per block:     65536
    - concurrent kernels:      yes
    - mapping host memory:     yes
    - unified addressing:      yes
    - texture alignment:       512 byte
    - pitch alignment:         32 byte
CUDA build version: 11.6
0
[14:14:50.784266][info] Job max memory consumption for one image: 825 MB
[14:14:50.784266][info] Memory information: 
    - Total RAM:     31.9437 GB
    - Free RAM:      20.0647 GB
    - Available RAM: 20.0647 GB
    - Total swap:    131072 GB
    - Free swap:     131019 GB
[14:14:50.784266][info] Max number of threads regarding memory usage: 22
[14:14:50.784266][info] # threads for extraction: 22
``̀ 

**Desktop (please complete the following and other pertinent information):**
 - OS: Windows 10
 - Meshroom version: 2023.3.0, release version
xDEADC0DE commented 3 weeks ago

I discovered this solution thanks to this reddit post (from 7 months ago): https://www.reddit.com/r/photogrammetry/comments/196kjor/comment/khunkqg/

xDEADC0DE commented 3 weeks ago

I’m guessing it is related to https://github.com/alicevision/Meshroom/issues/1988#issuecomment-1864630369 and will be fixed by https://github.com/alicevision/AliceVision/pull/1629

(apologies, I did look for open issues containing “ASCII” or “character” but the only one referencing this are closed)