From 63c4d6d6b9852b380da16e45ea032038faf6ef7a Mon Sep 17 00:00:00 2001 From: p38720654 Date: Wed, 29 Nov 2023 20:45:22 +0800 Subject: [PATCH] Delete 'data/mydata' --- data/mydata | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 data/mydata diff --git a/data/mydata b/data/mydata deleted file mode 100644 index d775438..0000000 --- a/data/mydata +++ /dev/null @@ -1,23 +0,0 @@ -import os - -path1 = r'./images/val' -path2 = r'./labels/val' - -p1 = os.listdir(path1) -p2 = os.listdir(path2) - -t = 0 - -if len(p1) == len(p2): - t = len(p1) -else: - exit(-1) - -counter = 0 -for i in range(t): - t1 = p1[i].split('.')[0] - t2 = p2[i].split('.')[0] - if t1 == t2: - counter = counter + 1 - -print(counter)