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

latest tf_sparse only support tf2.*? #1

Open
caowencai opened this issue Dec 17, 2021 · 4 comments
Open

latest tf_sparse only support tf2.*? #1

caowencai opened this issue Dec 17, 2021 · 4 comments

Comments

@caowencai
Copy link

from tensorflow.python.ops.linalg.sparse.sparse_csr_matrix_ops import sparse_tensor_to_csr_sparse_matrix, \

As showed above, tensorflow.python.ops.linalg.sparse only exists in tf==2.* version,and there exists import error at tf_sparse here when using tf_geometric with tf=1.5.0

@hujunxianligong
Copy link
Member

hujunxianligong commented Dec 18, 2021 via email

@caowencai
Copy link
Author

Yes. Currently tf_sparse only supports tf 2.x. We will consider to make it compatible with tf 1.x in the future.

Message ID: @.***>

so also, tf_geometric only supports tf 2.x? So upset.

@hujunxianligong
Copy link
Member

I think if you're using tf 1.x with eager execution, you should upgrade to tf 2.x.
It's more efficient in many cases.

@caowencai
Copy link
Author

I think if you're using tf 1.x with eager execution, you should upgrade to tf 2.x. It's more efficient in many cases.

You're right. But our seving system is using tf1.x, which cannot be destroyed by Artillery of Italy ,哈哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants