You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在保存coco数据集的时候,可能会报错:Save COCO json error: Object of type int32 is not JSON serializable
经过查询是bbox的数据中有numpy类型的数据,添加转换代码:
coco.py中,coco_anno_info['bbox'] = [int(b) for b in coco_anno_info['bbox']]
可以解决这个问题。
Windows日志:
错误应用程序名称: python.exe,版本: 3.11.5150.1013,时间戳: 0x64ff15d0
错误模块名称: Qt5Core_conda.dll,版本: 5.15.2.0,时间戳: 0x64a8c833
异常代码: 0xc0000409
错误偏移量: 0x00000000000205a8
错误进程 ID: 0x0x257C
错误应用程序启动时间: 0x0x1DA9046D3352554
错误应用程序路径: C:\Users\xx.conda\envs\sam_env\python.exe
错误模块路径: C:\Users\xx.conda\envs\sam_env\Library\bin\Qt5Core_conda.dll
报告 ID: xxxxxxxxxxx
错误程序包全名:
错误程序包相对应用程序 ID:
使用sam进行辅助标注的时候,一般在标注过程中出现,已经标注了一部分推按,随机不知多久会崩溃,一般不开启SAM不会崩溃。
错误码:异常代码0xc0000409通常表示“堆栈缓冲区溢出”。
这可能是由于软件中存在未检查或未正确处理的数组越界访问,这种错误可以导致程序崩溃,并可能危及系统的稳定性。
具体数组越界是在哪里,目前我没有进行去深究,作者对代码比较熟悉,方便的话可以查查问题。
The text was updated successfully, but these errors were encountered: