当前位置:网站首页>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))边栏推荐
猜你喜欢

生成对抗网络GAN:Generative Adversarial Networks

SAP ALV data export many of the bugs

重要消息丨.NET Core 3.1 将于今年12月13日结束支持

高项 04 项目变更管理

Pytorch中 nn.BatchNorm2d() 归一化操作

String类创建的对象在JVM中的内存分配和equals与==的区别

一站制造项目及Spark核心面试 ,220808,,,

ImportError: cannot import name ‘imresize‘

【报错】Root Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

stm32定时器之简单封装
随机推荐
【Docker】Docker安装MySQL
P1505 [National Training Team] Tourism Tree Chain Breakdown
View log common commands
Lottie系列二:高级属性
【MySQL】update mysql.user set authentication_string=password(“123456“) where User=‘root‘; 报错
Pytorch 训练技巧
更改Jupyter Notebook默认打开目录
常用测试用例设计方法之正交实验法详解
Sklearn data preprocessing
TCP段重组PDU
PyTorch中 torch.nn与torch.nn.functional的区别
虚拟机网卡报错:Bringing up interface eth0: Error: No suitable device found: no device found for connection
vlucas/phpdotenv phpdotenv获取变量内容偶尔出现返回false
MVN 中配置flyway mysq
c语言位段
查看日志常用命令
imageio读取.exr报错 ValueError: Could not find a backend to open `xxx.exr‘ with iomode `r`
rsync:recv_generator: mkdir (in backup) failed:Permission denied (13) |failed to set times on '.'
【nuxt】服务器部署步骤
Difference Constraint - Graph Theory