跳至内容
MNBVC-Wiki
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
踩坑记录:20260123simhash溢出错误
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
==== SimHash 溢出错误 ==== === 背景 === 在使用 [[https://github.com/wormtooth/DataClean-MNBVC|DataClean-MNBVC]] 清洗数据时,可能会遇到以下错误: ''fixed OverflowError: Python integer 256 out of bounds for uint8 problem'' === 结果 === 仓库中的 [[https://github.com/wormtooth/DataClean-MNBVC/blob/main/mnbvc/utils/simhash.py|simhash.py]] 依赖numpy==1.x.x。当使用numpy>=2.0.0时会触发此错误。请看文献1。当前的解决方案是使用numpy<2的版本。 === 文献 === 1. [[https://numpy.org/devdocs/numpy_2_0_migration_guide.html#changes-to-numpy-data-type-promotion|changes-to-numpy-data-type-promotion]]
踩坑记录/20260123simhash溢出错误.txt
· 最后更改:
2026/01/24 09:56
由
MNBVC项目组
页面工具
显示页面
过去修订
反向链接
回到顶部