aim-uofa / AdelaiDepth

This repo contains the projects: 'Virtual Normal', 'DiverseDepth', and '3D Scene Shape'. They aim to solve the monocular depth estimation, 3D scene reconstruction from single image problems.
Creative Commons Zero v1.0 Universal
1.06k stars 144 forks source link

python3: can't open file 'LeReS/tools/test_depth.py': [Errno 2] No such file or directory #42

Closed milkliker closed 2 years ago

milkliker commented 2 years ago

in the notebook: LeReS/tools/test_depth.py not exist

guangkaixu commented 2 years ago

Hi, the path to test_depth.py has been changed to "LeReS/Minist_Test/tools/test_depth.py". The code in the notebook has not been updated yet, so we recommend you to follow the README.md.

xiaoguo426 commented 2 years ago

Hi, the path to test_depth.py has been changed to "LeReS/Minist_Test/tools/test_depth.py". The code in the notebook has not been updated yet, so we recommend you to follow the README.md.

Will it be updated in the future? I had the same problem running in colab

guangkaixu commented 2 years ago

@xiaoguo426 We will update the code in the colab later after I finished my deadlines. Thanks for your following and I will remind you after updating the colab code.

IgorKasianenko commented 1 year ago

Colab is still broken !python3 LeReS/Minist_Test/tools/test_depth.py --load_ckpt res101.pth --backbone resnext101 returns

/env/python:/content/AdelaiDepth/LeReS
/content/AdelaiDepth
Traceback (most recent call last):
  File "LeReS/Minist_Test/tools/test_depth.py", line 9, in <module>
    from lib.multi_depth_model_woauxi import RelDepthModel
ModuleNotFoundError: No module named 'lib'
EllieFar commented 1 year ago

@IgorKasianenko did you find the solution? I have the same problem.

IgorKasianenko commented 1 year ago

@EllieFar no, if repository owner doesn't provide fixes there is nothing we can do

guangkaixu commented 1 year ago

@milkliker @xiaoguo426 @IgorKasianenko @EllieFar Sorry for the late response, bug has been fixed in https://github.com/aim-uofa/AdelaiDepth/issues/65#issuecomment-1492816706.