Skip to content

Commit ef67581

Browse files
updated download script
1 parent f6dd84e commit ef67581

4 files changed

Lines changed: 413 additions & 23 deletions

File tree

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ data/
77
**/__pycache__/
88

99
# Ignore vscode directory
10-
.vscode/
10+
.vscode/
11+
12+
# Ignore data
13+
*.jpg
14+
*.pcd
15+
*.npz
16+
*.json

README.md

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,15 @@ Please see [Dataset.md](./docs/Dataset.md) for details about the dataset and sch
8080

8181
Please see [Getting Started.md](./docs/Getting_Started.md) to get started with using the Python SDK. Here's a quick overview.
8282

83-
```python
84-
from aevascenes import AevaScenes
85-
86-
# Initialize dataset
87-
avs = AevaScenes(dataroot="data/aevascenes_v0.1")
88-
89-
# List available sequences
90-
avs.list_sequences()
91-
92-
# Load a specific sequence
93-
sequence_uuid = "3a8ce6a1-a80e-4a59-b400-9983f2b67b08"
94-
sequence_data = avs.load_sequence(sequence_uuid)
95-
96-
# Visualize the sequence
97-
avs.visualize_sequence(
98-
sequence_uuid=sequence_uuid,
99-
pcd_color_mode="velocity", # Options: "velocity", "reflectivity", "semantic"
100-
project_points_on_image=True,
101-
image_downsample_factor=2
102-
)
83+
```bash
84+
# Visualize a single sequence
85+
python examples/visualize_aevascenes.py --dataroot <DATA_ROOT> --viz-mode sequence --sequence-uuid <UUID> --color-mode [velocity/reflectivity/semantic]
86+
87+
# Visualize a single sequence with points projected
88+
python examples/visualize_aevascenes.py --dataroot <DATA_ROOT> --viz-mode sequence --sequence-uuid <UUID> --color-mode [velocity/reflectivity/semantic] --project-points
89+
90+
# Visualize random sampled frames from all sequences
91+
python examples/visualize_aevascenes.py --dataroot <DATA_ROOT> --viz-mode sampled --color-mode [velocity/reflectivity/semantic] --project-points
10392
```
10493

10594

docs/Getting_Started.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ avs.visualize_sequence(
5151
project_points_on_image=True,
5252
image_downsample_factor=2
5353
)
54+
55+
# Visualize random frames from the dataset
56+
avs.visualize_sampled_frames_from_dataset(
57+
pcd_color_mode="velocity", # Options: "velocity", "reflectivity", "semantic"
58+
project_points_on_image=False,
59+
image_downsample_factor=2,
60+
)
61+
5462
```
5563

5664
## Visualization

0 commit comments

Comments
 (0)