Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] NumPy version in mlfinlab is incompatible with TensorFlow #491

Open
kinivi opened this issue Feb 23, 2021 · 1 comment
Open

[Issue] NumPy version in mlfinlab is incompatible with TensorFlow #491

kinivi opened this issue Feb 23, 2021 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@kinivi
Copy link

kinivi commented Feb 23, 2021

Problem:
mlfinlab 1.0.1 requires numpy==1.20.1, but tensorflow 2.4.1 requires numpy~=1.19.2.
That is why LSTM layers and other TensorFlow functions don't properly work with NumPy 1.19.5. (see here)

Solution:
Recommend to downgrade NumPy to 1.18.5

@Jackal08
Copy link
Member

Thanks @kinivi.

At the moment Numpy's latest release has caused some serious problems with CVXPY and TF. We have updated our versions to the latest stable versions that we can get it to work with but 0.1.20.1 doesn't work with the latest TF. We are waiting for TF to update its dependencies.

We have removed TF from the dependencies in the mean time.

@PanPip PanPip self-assigned this Apr 14, 2021
@PanPip PanPip added the dependencies Pull requests that update a dependency file label Apr 14, 2021
@PanPip PanPip removed their assignment Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants