D-X-Y / AutoDL-Projects

Automated deep learning algorithms implemented in PyTorch.
MIT License
1.56k stars 281 forks source link

remove numpy version requirements #121

Closed ain-soph closed 2 years ago

ain-soph commented 2 years ago

Is it possible to remove numpy version requirements?

I want to use the benchmark, but my codes are relying on some new bug fixes after numpy>1.20.

D-X-Y commented 2 years ago

Good question. I remember there are some conflicts between the higher-version numpy and the off-the-shelf benchmark files. But I can not remember the details, if you can also help resolve the above check failure issues, it may be ok.

ain-soph commented 2 years ago

The old python setup.py install will call easy_install instead of pip to install dependencies.

easy_install is already deprecated and it finds wrong numpy version. (1.22.3 for python 3.6, which can't be built).

D-X-Y commented 2 years ago

Oh, good to know that.

D-X-Y commented 2 years ago

Thanks for your contribution!