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

排序第一节——插入排序(直接插入排序+希尔排序)(视频讲解26分钟)

【Oracle 11g】Redhat 6.5 安装 Oracle11g

SA-Siam:用于实时目标跟踪的双重连体网络A Twofold Siamese Network for Real-Time Object Tracking

XILINX K7 FPGA+RK3399 PCIE驱动调试

makefile记录

jmeter并发数量以及压力机的一些限制

SDRAM的数据存储实现并对其数据进行读写操作

排序第四节——归并排序(附有自己的视频讲解)

(error) NOAUTH Authentication required.

生成对抗网络GAN:Generative Adversarial Networks
随机推荐
入门cv必读的10篇baseline论文
P1505 [国家集训队]旅游 树链剖分
Classes and Structures
JSONObject遍历的时候顺序不一致,导致数据对应出错
学习小笔记---机器学习
Difference Constraint - Graph Theory
【机器学习】随机森林、GBDT、XGBoost、LightGBM等集成学习代码练习
错误:为 repo ‘oracle_linux_repo‘ 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.
解决pycharm每次新建项目都要重新pip安装一些第三方库等问题
洛谷P1110 报表统计 multiset stl好题
DIMP:Learning Discriminative Model Prediction for Tracking 学习判别模型预测的跟踪
MongDb query method
分布式理论
SDRAM的数据存储实现并对其数据进行读写操作
Inception V3 Eye Closure Detection
Mysql实操
数据一致性架构
排序第二节——选择排序(选择排序+堆排序)(两个视频讲解)
日期处理,字符串日期格式转换
Invoker 2019CCPC秦皇岛站I题 简单DP