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

Error on 'Download' step of Google Collab #69

Closed jessekirbs closed 7 months ago

jessekirbs commented 1 year ago

Hello - I ran through the steps on Google Collab and when I reach the 'Run Network' step, it's instantaneous and then I get the following error on the 'Download' step:

/content/AdelaiDepth/LeReS/test_images
find: ‘outputs/’: No such file or directory

zip error: Nothing to do! (result.zip)

---------------------------------------------------------------------------

FileNotFoundError                         Traceback (most recent call last)

[<ipython-input-14-2b2f09c79455>](https://localhost:8080/#) in <cell line: 5>()
      3 get_ipython().run_line_magic('cd', '/content/AdelaiDepth/LeReS/test_images/')
      4 get_ipython().system('find outputs/ -name "*-depth_raw.png" | zip -r result.zip -@')
----> 5 files.download("result.zip")

[/usr/local/lib/python3.9/dist-packages/google/colab/files.py](https://localhost:8080/#) in download(filename)
    220   if not _os.path.exists(filename):
    221     msg = 'Cannot find file: {}'.format(filename)
--> 222     raise FileNotFoundError(msg)  # pylint: disable=undefined-variable
    223 
    224   comm_manager = _IPython.get_ipython().kernel.comm_manager

FileNotFoundError: Cannot find file: result.zip

Any guidance would be greatly appreciated. Thank you!

aparnaanaharajan commented 1 year ago

Hi, I get the same error . Would really appreciate if you can help with the issue.

guangkaixu commented 1 year ago

Hi, you can follow https://github.com/aim-uofa/AdelaiDepth/issues/65#issuecomment-1492816706 to run LeReS in google colab. I don't have the right to modify the colab file, and I will apply for it.

flareopti commented 1 year ago

Colab file updated.