We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述:在对某些皮肤文件进行fcitx5格式转换时出现报错:OverflowError: Python integer 493 out of bounds for uint8,报错位于222行,是对像素求平均值的时候出现的,由于此处使用的整数类型 uint8只能存储0-255,当加法结果超过255时,会导致溢出。 建议:把数据类型转化为int类型,这样可以解决该问题。 有此问题的皮肤文件: https://pinyin.sogou.com/d/skins/download.php?skin_id=607531&rf=cate_31
The text was updated successfully, but these errors were encountered:
不是批量转换这样做对运行效率的影响也不大,或者说其他方法的话比如用NumPy的mean函数直接计算平均值?
Sorry, something went wrong.
简单的修复 fkxxyz/ssfconv#20
e9ee97d
@Feiyuqwq fork了一下修了
No branches or pull requests
问题描述:在对某些皮肤文件进行fcitx5格式转换时出现报错:OverflowError: Python integer 493 out of bounds for uint8,报错位于222行,是对像素求平均值的时候出现的,由于此处使用的整数类型 uint8只能存储0-255,当加法结果超过255时,会导致溢出。
建议:把数据类型转化为int类型,这样可以解决该问题。
有此问题的皮肤文件: https://pinyin.sogou.com/d/skins/download.php?skin_id=607531&rf=cate_31
The text was updated successfully, but these errors were encountered: