AiuniAI / Unique3D

Official implementation of Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image
https://wukailu.github.io/Unique3D/
MIT License
1.96k stars 131 forks source link

Getting numpy version error when try to run. #30

Open bianyunzhi95 opened 1 week ago

bianyunzhi95 commented 1 week ago

On ubuntu 22.04 with cuda 12.1, after installation, gradio app isn't running with following output. ` python app/gradio_local.py --port 7860

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. `

AbaXd commented 1 week ago

downgrade pytorch version to use numpy 1.x (onnxruntime not compatible with numpy >= 2.x)

bianyunzhi95 commented 1 week ago

Could you tell me what version you are using exactly please?

AbaXd commented 1 week ago

Could you tell me what version you are using exactly please?

torch 2.1.0.post2 numpy 1.24.4