Closed toti-bz closed 2 years ago
While I haven't tested, it doesn't look like pytorch enforces explicitly 1.22 for numpy (https://github.com/pytorch/pytorch/blob/master/requirements.txt). If downgrading numpy to 1.21 doesn't work, you can either a) disable numba in the source code -- this will results in slightly slower execution or b) create a new environment with a older config.
using python 3.10.1, torch: 1.11.0+cu113 and numpy 1.21.6, the following error occurs:
I figured that the error is due to incompatible versions of python, pytorch and numpy: Numba needs NumPy 1.21 or less pytorch 1.11 needs NumPy 1.22
so I need to downgrade all my packages in order to run the pretrained model code is there any update concerning this problem?