Update EMT.py
Browse files
EMT.py
CHANGED
|
@@ -21,8 +21,8 @@ A multi-task dataset for detection, tracking, prediction, and intention predicti
|
|
| 21 |
This dataset includes 34,386 annotated frames collected over 57 minutes of driving, with annotations for detection and tracking.
|
| 22 |
"""
|
| 23 |
|
| 24 |
-
# Annotation repository
|
| 25 |
-
_ANNOTATION_REPO = "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/annotations"
|
| 26 |
|
| 27 |
# Tar file URLs for images
|
| 28 |
_TRAIN_IMAGE_ARCHIVE_URL = "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/train_images.tar.gz"
|
|
@@ -74,11 +74,14 @@ class EMT(datasets.GeneratorBasedBuilder):
|
|
| 74 |
}
|
| 75 |
|
| 76 |
# Download the tar file for annotations
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
annotation_urls = {
|
| 78 |
-
|
| 79 |
-
|
| 80 |
}
|
| 81 |
-
|
| 82 |
# Download image files
|
| 83 |
images = {
|
| 84 |
"train": dl_manager.iter_archive(image_urls["train"]),
|
|
|
|
| 21 |
This dataset includes 34,386 annotated frames collected over 57 minutes of driving, with annotations for detection and tracking.
|
| 22 |
"""
|
| 23 |
|
| 24 |
+
# # Annotation repository
|
| 25 |
+
# _ANNOTATION_REPO = "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/annotations"
|
| 26 |
|
| 27 |
# Tar file URLs for images
|
| 28 |
_TRAIN_IMAGE_ARCHIVE_URL = "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/train_images.tar.gz"
|
|
|
|
| 74 |
}
|
| 75 |
|
| 76 |
# Download the tar file for annotations
|
| 77 |
+
# annotation_urls = {
|
| 78 |
+
# "train": _TRAIN_ANNOTATION_ARCHIVE_URL,
|
| 79 |
+
# "test": _TEST_ANNOTATION_ARCHIVE_URL,
|
| 80 |
+
# }
|
| 81 |
annotation_urls = {
|
| 82 |
+
"train": "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/train_annotation.tar.gz",
|
| 83 |
+
"test": "https://huggingface.co/datasets/KuAvLab/EMT/resolve/main/test_annotation.tar.gz",
|
| 84 |
}
|
|
|
|
| 85 |
# Download image files
|
| 86 |
images = {
|
| 87 |
"train": dl_manager.iter_archive(image_urls["train"]),
|