-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting.py
More file actions
24 lines (17 loc) · 746 Bytes
/
testing.py
File metadata and controls
24 lines (17 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
apath= "/projects/vb21/jiezy/ELEC542/BBDM-256/val/A"
bpath= "/projects/vb21/jiezy/ELEC542/BBDM-256/val/B"
a_images, b_images = os.listdir(apath), os.listdir(bpath)
for x in a_images:
if(x not in b_images):
print(x, y, " dont match")
if(".DS_Store" in a_images and ".DS_Store" in b_images):
print(".DS_Store found BBDM-256 images")
apath= "/projects/vb21/jiezy/ELEC542/BBDM/datasets/BBDM dataset/val/A"
bpath= "/projects/vb21/jiezy/ELEC542/BBDM/datasets/BBDM dataset/val/B"
a_images, b_images = os.listdir(apath), os.listdir(bpath)
for x in a_images:
if(x not in b_images):
print(x, y, " dont match")
if(".DS_Store" in a_images and ".DS_Store" in b_images):
print(".DS_Store found BBDM-256 images")