Skip to content

Commit d193851

Browse files
committed
dataloader fix
1 parent a80f463 commit d193851

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SwissKnife/dataprep.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def load(self, dataset_dir, subset, annotations):
5757
non_cv_split = subset in ["train", "val"]
5858
if non_cv_split:
5959
dataset_dir = os.path.join(dataset_dir, subset)
60-
frames = glob(dataset_dir + "/*.png")
60+
frames = glob(dataset_dir + "/*.*")
6161
frames = [el.split("/")[-1] for el in frames]
6262

6363
# Add images
@@ -158,6 +158,7 @@ def prepareData(
158158
else:
159159
annotations = list(annotations.values())
160160

161+
print('d')
161162
# annotations = annotations[:20]
162163
# TODO: make one/cv_fold
163164
if cv_folds == 0:

0 commit comments

Comments
 (0)