当前位置:网站首页>yolov5 detects the number of labels in the dataset
yolov5 detects the number of labels in the dataset
2022-08-09 07:32:00 【qq_52217283】
In order to detect whether there is a leak in the conversion, or to identify the leak, a detection of less than the number of each label is added
# -*- coding:utf8 -*-import osdef get_txt_list(path_, max_):result = []for files in os.listdir(path_):# print(files)with open(path_ + "\\" + files, "r") as f:length = f.read().split("\n")if len(length) <= max_:result.append(files)return resultif __name__ == '__main__':path = r"D:\Downloads\yolov5-6.1\runs\detect\exp2\labels"print(get_txt_list(path, 7))
边栏推荐
猜你喜欢
用tensorflow.keras模块化搭建神经网络模型
高项 04 项目整体管理
【机器学习】随机森林、GBDT、XGBoost、LightGBM等集成学习代码练习
灵活好用的sql monitoring 脚本 part7
Inception V3 Eye Closure Detection
【报错】Root Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
高项 03 项目立项管理
数据库索引原理
Colors that Tkinter can choose from
软件测试的岗位会越来越少吗?
随机推荐
2019南昌网络赛 C题,Hello 2019
常见的分布式事务解决方案
Win10桌面图标排列混乱
SDRAM的数据存储实现并对其数据进行读写操作
【机器学习】中国大学慕课《机器学习》课后习题(二)(回归)
web自动化测试有哪些工具和框架?
更改Jupyter Notebook默认打开目录
list与string转换
vlucas/phpdotenv phpdotenv获取变量内容偶尔出现返回false
虚拟机网卡报错:Bringing up interface eth0: Error: No suitable device found: no device found for connection
子路由及路由出口配置
重要消息丨.NET Core 3.1 将于今年12月13日结束支持
【nuxt】服务器部署步骤
设备指纹详解之识别垃圾账号
找不到和chrome浏览器版本不同的chromedriver的解决方法
排序第二节——选择排序(选择排序+堆排序)(两个视频讲解)
HDU - 3183 A Magic Lamp Segment Tree
搭载开源鸿蒙系统的嵌入式XM-RK3568工业互联方案
Important news丨.NET Core 3.1 will end support on December 13 this year
原生JDBC操作数据库