- 博客(5)
- 收藏
- 关注
原创 pymilvus.exceptions.MilvusException: <MilvusException: (code=65535, message=the length(4096) of floa
pymilvus.exceptions.MilvusException: <MilvusException:(code=65535, message= float数据的长度(4096)应该除以dim(768))>,需要注意的是,该模型的输出维度是1024维,而Milvus默认的维度是768维,所以你需要在创建collection的时候,将维度设置为与你的Embedding模型输出维度一致。原因是我是用的Embedding模型是。也就是将该行代码的dim设置为1024。
2024-12-19 00:55:21
781
原创 KeyError: ‘TextGenerationPipeline is not in the pipelines registry group embedding. Please make sure
KeyError: 'TextGenerationPipeline不在管道注册表组嵌入中。请确保使用了正确版本的ModelScope库。这种方式加载,就OK了。
2024-12-19 00:34:18
268
原创 pymilvus.exceptions.MilvusException: <MilvusException: (code=65535, message=cannot parse expression:
collection_properties (Optional[dict[str, any]]): The collection properties. Defaults to None. If set, will override collection existing properties. 集合属性。collection_description (str): The description of the collection. Defaults to “”.集合的描述。默认为“Session”。
2024-12-19 00:25:46
2600
原创 2021-06-05
IDEA如何只运行一个文件我从eclipse转到IDEA的时候,经常出现这种情况,同一个项目下,运行class文件,会跳转到其他错误class文件上,很头疼,又不想每次都注释错误代码,网上找了很多办法,好像跟自己的总有些不一样,这里,我的IDEA版本是IDEA 2021.1 摸索了好久,才终于在一次尝试之后,成功实现。在edit configuration编辑配置中找到你想单独运行的class文件,按照网上的方法这里应该有个Before Launch,然后让你删掉里面的Build,那么问题来了没
2021-06-05 15:14:55
194
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人