Santiago Hincapie-Potes
commited on
Commit
·
9791701
1
Parent(s):
b7dc0a2
fix: typo
Browse files- ImVisible.py +3 -3
ImVisible.py
CHANGED
@@ -99,7 +99,7 @@ class ImVision(datasets.GeneratorBasedBuilder):
|
|
99 |
datasets.SplitGenerator(
|
100 |
name=datasets.Split.TRAIN,
|
101 |
gen_kwargs={
|
102 |
-
"img_folder": data_dir["imgs"],
|
103 |
"labels": data_dir["train"],
|
104 |
},
|
105 |
),
|
@@ -107,7 +107,7 @@ class ImVision(datasets.GeneratorBasedBuilder):
|
|
107 |
name=datasets.Split.TEST,
|
108 |
# These kwargs will be passed to _generate_examples
|
109 |
gen_kwargs={
|
110 |
-
"img_folder": data_dir["imgs"],
|
111 |
"labels": data_dir["test"],
|
112 |
},
|
113 |
),
|
@@ -115,7 +115,7 @@ class ImVision(datasets.GeneratorBasedBuilder):
|
|
115 |
name=datasets.Split.VALIDATION,
|
116 |
# These kwargs will be passed to _generate_examples
|
117 |
gen_kwargs={
|
118 |
-
"img_folder": data_dir["imgs"],
|
119 |
"labels": data_dir["validation"],
|
120 |
},
|
121 |
),
|
|
|
99 |
datasets.SplitGenerator(
|
100 |
name=datasets.Split.TRAIN,
|
101 |
gen_kwargs={
|
102 |
+
"img_folder": os.path.join(data_dir["imgs"], "PTL_Dataset_876x657/"),
|
103 |
"labels": data_dir["train"],
|
104 |
},
|
105 |
),
|
|
|
107 |
name=datasets.Split.TEST,
|
108 |
# These kwargs will be passed to _generate_examples
|
109 |
gen_kwargs={
|
110 |
+
"img_folder": os.path.join(data_dir["imgs"], "PTL_Dataset_876x657/"),
|
111 |
"labels": data_dir["test"],
|
112 |
},
|
113 |
),
|
|
|
115 |
name=datasets.Split.VALIDATION,
|
116 |
# These kwargs will be passed to _generate_examples
|
117 |
gen_kwargs={
|
118 |
+
"img_folder": os.path.join(data_dir["imgs"], "PTL_Dataset_876x657/"),
|
119 |
"labels": data_dir["validation"],
|
120 |
},
|
121 |
),
|