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

[Text Image Search] RuntimeError: Node-ann-insert/milvus-client-4 runs failed #192

Closed
LiuersNick opened this issue Apr 20, 2023 · 5 comments

Comments

@LiuersNick
Copy link

LiuersNick commented Apr 20, 2023

Hi there,
When I clone and tried to run the project "text_image_search"(branch is main), an error occurred during the step "Load Image Embeddings into Milvus". The error is shown in the screenshot below:
image
p.s. I am using milvus 2.0.2, and pymilvus is 2.0.2. Also using towhee 0.9.0.
(please forgive my poor english :)

@LiuersNick LiuersNick changed the title RuntimeError: Node-ann-insert/milvus-client-4 runs failed; AttributeError: 'MutationResult' object has no attribute 'err_count' [Text Image Search] RuntimeError: Node-ann-insert/milvus-client-4 runs failed Apr 20, 2023
@junjiejiangjjj
Copy link
Contributor

The operator used the interface of pymilvus 2.2.0. I will modify it so that the operator can also run on pymilvus 2.0.2.

@junjiejiangjjj
Copy link
Contributor

Please remove the op cache: ~/.towhee/operators/ann-insert/milvus-client/ and rerun your code

@LiuersNick
Copy link
Author

LiuersNick commented Apr 21, 2023

Please remove the op cache: ~/.towhee/operators/ann-insert/milvus-client/ and rerun your code

Thanks for your reply. Did you mean I need to delete this folder ~/.towhee/operators/ann-insert/milvus-client/ and rerun my code?

The operator used the interface of pymilvus 2.2.0. I will modify it so that the operator can also run on pymilvus 2.0.2.

It means I can upgrade the milvus and pymilvus to 2.2.0 to solve the problems?

@junjiejiangjjj
Copy link
Contributor

Please remove the op cache: ~/.towhee/operators/ann-insert/milvus-client/ and rerun your code

Thanks for your reply. Did you mean I need to delete this folder ~/.towhee/operators/ann-insert/milvus-client/ and rerun my code?

yeah

The operator used the interface of pymilvus 2.2.0. I will modify it so that the operator can also run on pymilvus 2.0.2.

It means I can upgrade the milvus and pymilvus to 2.2.0 to solve the problems?

I am not sure if using pymilvus2.2.0 to access milvus2.0.2 will work properly.

@LiuersNick
Copy link
Author

Please remove the op cache: ~/.towhee/operators/ann-insert/milvus-client/ and rerun your code

Thanks for your reply. Did you mean I need to delete this folder ~/.towhee/operators/ann-insert/milvus-client/ and rerun my code?

yeah

The operator used the interface of pymilvus 2.2.0. I will modify it so that the operator can also run on pymilvus 2.0.2.

It means I can upgrade the milvus and pymilvus to 2.2.0 to solve the problems?

I am not sure if using pymilvus2.2.0 to access milvus2.0.2 will work properly.

I deleted the folder ~/.towhee/operators/ann-insert/milvus-client/ and it works!

Thanks again for your reply, and it helps me a lot!

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