Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,12 +26,8 @@ The Temporal Logic Video (TLV) Dataset addresses the scarcity of state-of-the-ar
|
|
| 26 |
|
| 27 |
- [Dataset Composition](#dataset-composition)
|
| 28 |
- [Dataset](#dataset)
|
| 29 |
-
- [Installation](#installation)
|
| 30 |
-
- [Usage](#usage)
|
| 31 |
-
- [Data Generation](#data-generation)
|
| 32 |
-
- [Contribution Guidelines](#contribution-guidelines)
|
| 33 |
- [License](#license)
|
| 34 |
-
|
| 35 |
|
| 36 |
## Dataset Composition
|
| 37 |
|
|
@@ -101,71 +97,6 @@ You can download a dataset from here. The structure of the dataset is as follows
|
|
| 101 |
| Event A Until Event B | 60| 60 | 45| 494 |
|
| 102 |
| (Event A And Event B) Until Event C | 97 | - | 30 | 186|
|
| 103 |
|
| 104 |
-
|
| 105 |
-
## Installation
|
| 106 |
-
|
| 107 |
-
```bash
|
| 108 |
-
python -m venv .venv
|
| 109 |
-
source .venv/bin/activate
|
| 110 |
-
python -m pip install --upgrade pip build
|
| 111 |
-
python -m pip install --editable ."[dev, test]"
|
| 112 |
-
```
|
| 113 |
-
|
| 114 |
-
### Prerequisites
|
| 115 |
-
|
| 116 |
-
1. ImageNet (ILSVRC 2017):
|
| 117 |
-
```
|
| 118 |
-
ILSVRC/
|
| 119 |
-
├── Annotations/
|
| 120 |
-
├── Data/
|
| 121 |
-
├── ImageSets/
|
| 122 |
-
└── LOC_synset_mapping.txt
|
| 123 |
-
```
|
| 124 |
-
|
| 125 |
-
2. COCO (2017):
|
| 126 |
-
```
|
| 127 |
-
COCO/
|
| 128 |
-
└── 2017/
|
| 129 |
-
├── annotations/
|
| 130 |
-
├── train2017/
|
| 131 |
-
└── val2017/
|
| 132 |
-
```
|
| 133 |
-
|
| 134 |
-
## Usage
|
| 135 |
-
|
| 136 |
-
Detailed usage instructions for data loading and processing.
|
| 137 |
-
|
| 138 |
-
### Data Loader Configuration
|
| 139 |
-
|
| 140 |
-
- `data_root_dir`: Root directory of the dataset
|
| 141 |
-
- `mapping_to`: Label mapping scheme (default: "coco")
|
| 142 |
-
- `save_dir`: Output directory for processed data
|
| 143 |
-
|
| 144 |
-
### Synthetic Data Generator Configuration
|
| 145 |
-
|
| 146 |
-
- `initial_number_of_frame`: Starting frame count per video
|
| 147 |
-
- `max_number_frame`: Maximum frame count per video
|
| 148 |
-
- `number_video_per_set_of_frame`: Videos to generate per frame set
|
| 149 |
-
- `increase_rate`: Frame count increment rate
|
| 150 |
-
- `ltl_logic`: Temporal Logic specification (e.g., "F prop1", "G prop1")
|
| 151 |
-
- `save_images`: Boolean flag for saving individual frames
|
| 152 |
-
|
| 153 |
-
## Data Generation
|
| 154 |
-
|
| 155 |
-
### COCO Synthetic Data Generation
|
| 156 |
-
|
| 157 |
-
```bash
|
| 158 |
-
python3 run_scripts/run_synthetic_tlv_coco.py --data_root_dir "../COCO/2017" --save_dir "<output_dir>"
|
| 159 |
-
```
|
| 160 |
-
|
| 161 |
-
### ImageNet Synthetic Data Generation
|
| 162 |
-
|
| 163 |
-
```bash
|
| 164 |
-
python3 run_synthetic_tlv_imagenet.py --data_root_dir "../ILSVRC" --save_dir "<output_dir>"
|
| 165 |
-
```
|
| 166 |
-
|
| 167 |
-
Note: ImageNet generator does not support '&' LTL logic formulae.
|
| 168 |
-
|
| 169 |
## License
|
| 170 |
|
| 171 |
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
@@ -181,13 +112,3 @@ If you find this repo useful, please cite our paper:
|
|
| 181 |
year={2024}
|
| 182 |
}
|
| 183 |
```
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
[contributors-shield]: https://img.shields.io/github/contributors/UTAustin-SwarmLab/temporal-logic-video-dataset.svg?style=for-the-badge
|
| 187 |
-
[contributors-url]: https://github.com/UTAustin-SwarmLab/temporal-logic-video-dataset/graphs/contributors
|
| 188 |
-
[forks-shield]: https://img.shields.io/github/forks/UTAustin-SwarmLab/temporal-logic-video-dataset.svg?style=for-the-badge
|
| 189 |
-
[forks-url]: https://github.com/UTAustin-SwarmLab/temporal-logic-video-dataset/network/members
|
| 190 |
-
[stars-shield]: https://img.shields.io/github/stars/UTAustin-SwarmLab/temporal-logic-video-dataset.svg?style=for-the-badge
|
| 191 |
-
[stars-url]: https://github.com/UTAustin-SwarmLab/temporal-logic-video-dataset/stargazers
|
| 192 |
-
[license-shield]: https://img.shields.io/github/license/UTAustin-SwarmLab/temporal-logic-video-dataset.svg?style=for-the-badge
|
| 193 |
-
[license-url]: https://github.com/UTAustin-SwarmLab/temporal-logic-video-dataset/blob/master/LICENSE.txt
|
|
|
|
| 26 |
|
| 27 |
- [Dataset Composition](#dataset-composition)
|
| 28 |
- [Dataset](#dataset)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
- [License](#license)
|
| 30 |
+
|
| 31 |
|
| 32 |
## Dataset Composition
|
| 33 |
|
|
|
|
| 97 |
| Event A Until Event B | 60| 60 | 45| 494 |
|
| 98 |
| (Event A And Event B) Until Event C | 97 | - | 30 | 186|
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
## License
|
| 101 |
|
| 102 |
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
|
|
| 112 |
year={2024}
|
| 113 |
}
|
| 114 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|