ArminMasoumian / GCNDepth

Self-Supervised CNN-GCN Autoencoder for Monocular Depth Estimation
MIT License
113 stars 17 forks source link

Can't run run.py #2

Closed jeoseo closed 2 years ago

jeoseo commented 2 years ago

I seem to be unable to import from mono.apis. Is there something I missed from instructions?

image

ArminMasoumian commented 2 years ago

I seem to be unable to import from mono.apis. Is there something I missed from instructions?

image

It seems that the torch version you have installed does not support the torch.distributed.launch package. Please double-check your torch version. We have used version 1.7.1. Also, we have tested the code on different types of Linux OS (Ubuntu and CentOS) and it works fine. However, we did not test the code on Windows OS. maybe that is the cause of the error.

jeoseo commented 2 years ago

The requirements.txt update fixed the issue with the torch version. However, which version of Pillow are you using?

ArminMasoumian commented 2 years ago

The requirements.txt update fixed the issue with the torch version. However, which version of Pillow are you using?

We used the 6.2.2 version.

jeoseo commented 2 years ago

I still can't seem to import mono.apis... image

ArminMasoumian commented 2 years ago

I still can't seem to import mono.apis... image

It seems that your GPU is not set well. If you have more than 1 GPU, in the run.py file, change the number of GPUs in --nproc_per_node=1 and try again. If it did not solve, try to test it with 1 GPU.