lpiccinelli-eth / UniDepth

Universal Monocular Metric Depth Estimation
Other
588 stars 47 forks source link

numpy=2.0 is not compatible #58

Open aunagar opened 3 months ago

aunagar commented 3 months ago

How to reproduce: Install using python venv as per instructions in the readme.

Running `python ./scripts/demo.py gives the following error in torch.nn.modules.transformer

UserWarning: Failed to initialize NumPy: _ARRAY_API not found

Probably, the current pytorch is not compatible with numpy>=2.0 probably, which was released recently and will be installed via requirements.txt