Update EMT.py
Browse files
EMT.py
CHANGED
@@ -288,8 +288,9 @@ class EMT(datasets.GeneratorBasedBuilder):
|
|
288 |
image_archives = dl_manager.download_and_extract(image_urls)
|
289 |
|
290 |
# Ensure annotation paths point to the correct subdirectory
|
291 |
-
train_annotation_path = os.path.join(extracted_paths["train"], "annotations", "train")
|
292 |
-
test_annotation_path = os.path.join(extracted_paths["test"], "annotations", "test")
|
|
|
293 |
|
294 |
return [
|
295 |
datasets.SplitGenerator(
|
|
|
288 |
image_archives = dl_manager.download_and_extract(image_urls)
|
289 |
|
290 |
# Ensure annotation paths point to the correct subdirectory
|
291 |
+
train_annotation_path = os.path.join(extracted_paths["train"], "EMT", "annotations", "train")
|
292 |
+
test_annotation_path = os.path.join(extracted_paths["test"], "EMT", "annotations", "test")
|
293 |
+
|
294 |
|
295 |
return [
|
296 |
datasets.SplitGenerator(
|