open-mmlab / Multimodal-GPT

Multimodal-GPT
Apache License 2.0
1.48k stars 126 forks source link

raise AttributeError( AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'? #35

Open Priya-Panchal opened 5 months ago

Priya-Panchal commented 5 months ago

After installing everything, I got this error while launching the demo by python app.py

Any help on this? I have already downgraded numpy but getting the same error.

Cassidy-Gasteiger commented 5 months ago

Following - I am having the same problem. I never upgraded numpy in my venv or requirements.txt but somehow I am now receiving this error when running my program

10240418 commented 5 months ago

Following,update pip install numpy==1.26.4maybe usefull,before that pip uninstall numpy is usefull for my demo