Skip to content

Commit a93d0ce

Browse files
authored
Update flyingchairs.py
1 parent e736da0 commit a93d0ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasets/flyingchairs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def make_dataset(dir, split=None):
1212
root_filename = flow_map[:-9]
1313
img1 = root_filename+'_img1.ppm'
1414
img2 = root_filename+'_img2.ppm'
15-
if not (os.path.isfile(os.path.join(dir,img1)) or os.path.isfile(os.path.join(dir,img2))):
15+
if not (os.path.isfile(os.path.join(dir,img1)) and os.path.isfile(os.path.join(dir,img2))):
1616
continue
1717

1818
images.append([[img1,img2],flow_map])

0 commit comments

Comments
 (0)