automl / Auto-PyTorch

Automatic architecture search and hyperparameter optimization for PyTorch
Apache License 2.0
2.37k stars 287 forks source link

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject #181

Closed loveunk closed 3 years ago

loveunk commented 3 years ago

After installing the latest version of Auto-Pytorch, I got the following errors:

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

Someone suggests to upgrade numpy with version >= 1.20.0.

I tried with pip install numpy==1.20.1 and it works.

minsikseo-cdl commented 3 years ago

I have the same issue. By the way, pip check says autopytorch 0.0.2 has requirement numpy==1.19.5, but you have numpy 1.20.1.. Is it okay to ignore it?

loveunk commented 3 years ago

I have the same issue. By the way, pip check says autopytorch 0.0.2 has requirement numpy==1.19.5, but you have numpy 1.20.1.. Is it okay to ignore it?

It's OK to ignore the warning.