lpiccinelli-eth/UniDepth

numpy=2.0 is not compatible

Opened this issue · 0 comments

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

Running ``python ./scripts/demo.pygives the following error intorch.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