先看结果
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIyZuBnLiVjMyMzM1AzYwkTZ4UWZhJWO2QDZzkjN3kzY1AzMklzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)
环境要求:
YOLO v5 7.0
具体步骤一
找到detect.py
找到235行代码,添加default=True即可
parser.add_argument(‘–visualize’, action=‘store_true’, default=True, help=‘visualize features’)
具体步骤二
运行detect.py文件
在run文件夹中有输出结果
YOLO v5 7.0
找到detect.py
找到235行代码,添加default=True即可
parser.add_argument(‘–visualize’, action=‘store_true’, default=True, help=‘visualize features’)
运行detect.py文件
在run文件夹中有输出结果