当前位置:网站首页>yolov5检测数据集标签数量
yolov5检测数据集标签数量
2022-08-09 07:30:00 【qq_52217283】
为了检测转换是否有漏的,或者识别有漏的,加了每个标注小于数量的检测
# -*- coding:utf8 -*-
import os
def 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 result
if __name__ == '__main__':
path = r"D:\Downloads\yolov5-6.1\runs\detect\exp2\labels"
print(get_txt_list(path, 7))
边栏推荐
猜你喜欢

【修电脑】系统重装但IP不变后VScode Remote SSH连接失败解决

ImportError: cannot import name ‘imresize‘

jmeter concurrency and some limitations of the press

Colors that Tkinter can choose from

postgresql窗口功能

SSM整合开发案例

常见的分布式事务解决方案

pytorch指定GPU

基于布朗运动的文本生成方法-LANGUAGE MODELING VIA STOCHASTIC PROCESSES

【报错】Root Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
随机推荐
RK3568商显版开源鸿蒙板卡产品解决方案
搭载开源鸿蒙系统的嵌入式XM-RK3568工业互联方案
es6 基础知识详解 变量 字符串 解构赋值 函数 对象 从入门到精通
tianqf的解题思路
MUV LUV EXTRA 2019CCPC秦皇岛站J题 KMP
(error) NOAUTH Authentication required.
c语言位段
错误:为 repo ‘oracle_linux_repo‘ 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.
一键登陆服务器脚本
String类创建的对象在JVM中的内存分配和equals与==的区别
leetcode:55. 跳跃游戏
Learning Notes---Machine Learning
jmeter concurrency and some limitations of the press
2017icpc沈阳 G Infinite Fraction Path BFS+剪枝
unity第一课
MySQL高级特性之分布式(XA)事务的介绍
金九银十即将到来,求职套路多,面试指南我来分享~
dp学习笔记
Pytorch 训练技巧
eyb:Redis学习(2)