milvus报错:MilvusException: (code=65535, message=the length(384) of float data should divide the dim(1024))
一,报错信息:
MilvusException: (code=65535, message=the length(384) of float data should divide the dim(1024))
原因:
代码中定义的vector的dim是1024,但模型的长度是384,设置为两者一致即可
二,解决:
FieldSchema(name="content_vector", dtype=DataType.FLOAT_VECTOR, dim=384),
浙公网安备 33010602011771号