len(os.listdir)
Browse files- SkyScenes.py +1 -1
SkyScenes.py
CHANGED
|
@@ -358,7 +358,7 @@ class SKYSCENES(datasets.GeneratorBasedBuilder):
|
|
| 358 |
filepath_depth = os.listdir(depth[j])
|
| 359 |
except:
|
| 360 |
pass
|
| 361 |
-
for i in range(os.listdir(images[j])):
|
| 362 |
# filepath = os.path.join(images, filename)
|
| 363 |
try:
|
| 364 |
with open(os.path.join(images[j], filepath_img[i]), "rb") as f:
|
|
|
|
| 358 |
filepath_depth = os.listdir(depth[j])
|
| 359 |
except:
|
| 360 |
pass
|
| 361 |
+
for i in range(len(os.listdir(images[j]))):
|
| 362 |
# filepath = os.path.join(images, filename)
|
| 363 |
try:
|
| 364 |
with open(os.path.join(images[j], filepath_img[i]), "rb") as f:
|