Comments (4)
This example does a lot of things.
It generates the data files, uploads the files to S3, and then call do_bulk_insert() API to import these files to a milvus server: https://milvus.io/docs/bulk_insert.md#2-Insert-entities
As we mentioned here: https://milvus.io/docs/bulk_insert.md#1-Upload-data-files, to import the files into a milvus server, the data files need to be upload to the bucket defined by minio.bucketName
in the milvus.yml configuration file.
From the error message "failed to get file size of 'bulk_data/c08b98aa-cae9-4....." we know the milvus server cannot access this path.
This path is under "a-bucket" bucket. Then I think your milvus server is not using this path as storage path.
Double check the minio.bucketName
in the milvus.yml of your milvus server. Change it to be "a-bucket" and try again.
from pymilvus.
/assign @yhmo
from pymilvus.
@yhmo Is it possible to do bulk insert of binary vectors stored as a .npy file?
from pymilvus.
@yhmo Is it possible to do bulk insert of binary vectors stored as a .npy file?
The example script also includes a demo for binary vectors:
pymilvus/examples/example_bulkwriter.py
Line 409 in 5b5e361
from pymilvus.
Related Issues (20)
- [QUESTION]: Search()中limit参数无法控制返回数量。 HOT 1
- [Bug]: failed to flush collection HOT 1
- [QUESTION]:
- [Enhancement]: multi vector search using new MilvusClient SDK
- [Enhancement]: Reduce pymilvus package size HOT 6
- Can't run Flask+gevent with milvus connections.connect HOT 3
- [Enhancement]: Raise exception if RPC error occurs
- [Bug]: Spark Milvus Connector DataType.ARRAY HOT 1
- [QUESTION]: Why does ORM-style API seem to outperform MilvusClient in database search operations?
- [Bug]: bulkwriter does not support add row for new json datatype HOT 1
- [Enhancement]: Supports f16 and bf16 datatype for bulk writer HOT 1
- [Bug]: Attu up_time is negative
- [Bug]: [create_partition], <_MultiThreadedRendezvous: StatusCode.UNIMPLEMENTED, HOT 1
- [QUESTION]: Is it possible to test milvus offline by ann_benchmark on Centos?
- [Bug]: Failed to create sparse vector index
- search中limit设置为5只返回一个数据
- [QUESTION]: 向量的维度只能设置为一个定值吗?能不能设置一个范围? HOT 2
- [Bug]: <MilvusException: (code=1, message=Unexpected error, message=<Cannot invoke RPC: Channel closed!>)>
- 删除数据后,再次查询,实体没有及时更新 HOT 2
- 请问如何判断数据有没有load到内存 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymilvus.