forked from twosixlabs/armory
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"""carla_mot_dev dataset.""" | ||
|
||
from .carla_mot_dev import CarlaMotDev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
armory/datasets/adversarial/carla_mot_dev/carla_mot_dev_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""carla_mot_dev dataset.""" | ||
|
||
import tensorflow_datasets as tfds | ||
from . import carla_mot_dev | ||
|
||
|
||
class CarlaMotDevTest(tfds.testing.DatasetBuilderTestCase): | ||
"""Tests for carla_mot_dev dataset.""" | ||
|
||
# TODO(carla_mot_dev): | ||
DATASET_CLASS = carla_mot_dev.CarlaMotDev | ||
SPLITS = { | ||
"train": 3, # Number of fake train example | ||
"test": 1, # Number of fake test example | ||
} | ||
|
||
# If you are calling `download/download_and_extract` with a dict, like: | ||
# dl_manager.download({'some_key': 'http://a.org/out.txt', ...}) | ||
# then the tests needs to provide the fake output paths relative to the | ||
# fake data directory | ||
# DL_EXTRACT_RESULT = {'some_key': 'output_file1.txt', ...} | ||
|
||
|
||
if __name__ == "__main__": | ||
tfds.testing.test_main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://armory-public-data.s3.us-east-2.amazonaws.com/carla/carla_mot_dev_1.0.0.tar.gz 704303119 cdd4be9cd3bcb5c2f94a6628350f106deec6fdc7b6a9c05711309b2bcc814f3d carla_mot_dev_1.0.0.tar.gz |
Empty file.