当前位置:网站首页>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))
边栏推荐
- 【sqlite3】sqlite3.OperationalError: table addresses has 7 columns but 6 values were supplied
- Lottie系列一:介绍与使用
- list与string转换
- way of thinking problem-solving skills
- 【Template】Tree Chain Segmentation P3384
- 【机器学习】支持向量机(SVM)代码练习
- Important news丨.NET Core 3.1 will end support on December 13 this year
- 高德地图JS - 已知经纬度来获取街道、城市、详细地址等信息
- 更改Jupyter Notebook默认打开目录
- 4.MySQL更新和删除数据
猜你喜欢
半导体新能源智能装备整机软件系统方案设计
SSM整合开发案例
金九银十即将到来,求职套路多,面试指南我来分享~
Variable used in lambda expression should be final or effectively final报错解决方案
解决pycharm每次新建项目都要重新pip安装一些第三方库等问题
基于布朗运动的文本生成方法-LANGUAGE MODELING VIA STOCHASTIC PROCESSES
Oracle 限制时将空值排除
找不到和chrome浏览器版本不同的chromedriver的解决方法
分布式理论
Colors that Tkinter can choose from
随机推荐
car-price-deeplearning-0411
A brief introduction to microservice architecture
【机器学习】随机森林、GBDT、XGBoost、LightGBM等集成学习代码练习
灵活好用的sql monitoring 脚本 part7
【Shell】查找进程的pid并根据pid获取该进程所占用的端口号以及该进程在系统中所下达的指令名称
list and string conversion
dp学习笔记
stm32定时器之简单封装
SA-Siam:用于实时目标跟踪的双重连体网络A Twofold Siamese Network for Real-Time Object Tracking
C语言:汽水瓶详解
HDU - 3183 A Magic Lamp Segment Tree
Use tensorflow.keras to build a neural network model modularly
SSM整合开发案例
ImportError: cannot import name ‘imresize‘
【MySQL】update mysql.user set authentication_string=password(“123456“) where User=‘root‘; 报错
【烂笔头】各厂商手机手动抓log
codeforces Valera and Elections (这思维题是做不明白了)
定时任务组件Quartz
数据库索引原理
sklearn数据预处理