milvus-tools icon indicating copy to clipboard operation
milvus-tools copied to clipboard

Error: cannot reshape array error

Open lanegg opened this issue 4 years ago • 1 comments
trafficstars

使用milvusdm迁移collection 源和目标节点版本均为0.10.5 由于0.10.5版本无分区,配置如下:

source_collection: collection_name_xxx: - ''

执行迁移时提示以下异常,请问是目标集群的限制吗?该如何解决呢?

ERROR | milvus_to_milvus.py | transform_milvus_data | 44 | Error with: cannot reshape array of size 100335616 into shape (48992,64)

lanegg avatar Aug 05 '21 07:08 lanegg

I think you have the same issue as #9.

We have fixed it in branch1.0, so you can reinstall it as follow:

$ git clone -b 1.0  https://github.com/milvus-io/milvus-tools.git
$ cd milvus-tools
$ echo "y" | pip uninstall pymilvusdm && python setup.py install

shiyu22 avatar Aug 10 '21 02:08 shiyu22