在运行yolov7的train.py报错
No loop matching the specified signature and casting was found for ufunc greater
查了一下,主要两个方面去试试
1选择numpy包
直接在当前位置下 安装指定的包就行
pip install -r requirements.txt
2去改 cum_counts
看一下报错的位置
就是报错的蓝色字体
对应的找到这个文件 summary.py
打开之后, 按住ctrl键+f键
搜索cum_counts
将
改成
cum_counts = np.cumsum(np.greater(counts, 0))
再试试能不能运行train.py