isl-org / MiDaS

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"
MIT License
4.27k stars 599 forks source link

Fix handling of filenames with non-ascii characters #212

Open IwfY opened 1 year ago

IwfY commented 1 year ago

Having files with non-ASCII characters (e.g. "ü") lead to a core dump.

I don't know if this is the ideal way. It feels very scattered. But with those changes it worked for me with all filenames within the Docker environment.