Brainkite commited on
Commit
e06b0f9
·
1 Parent(s): 4067165

Add files using upload-large-folder tool

Browse files
Files changed (2) hide show
  1. README.md +24 -0
  2. extract_waymo_data.sh +64 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Processed Waymo Dataset
2
+
3
+ This dataset contains processed Waymo Open Dataset files for 3D semantic segmentation.
4
+
5
+ ## Dataset Contents
6
+
7
+ This dataset contains processed Waymo Open Dataset files:
8
+ - Point clouds (coord.npy)
9
+ - Semantic segmentation labels (segment.npy)
10
+ - Intensity/strength information (strength.npy)
11
+ - Pose information (pose.npy)
12
+ - Points per lidar information (points_per_lidar.npy)
13
+ - Metadata about all scenes (metadata.parquet)
14
+
15
+ ## Processing
16
+
17
+ This data was processed using the Pointcept framework's Waymo preprocessing tools.
18
+ - Original data source: [Waymo Open Dataset](https://waymo.com/open/download/)
19
+ - Processing framework: [Pointcept](https://github.com/Pointcept/Pointcept)
20
+
21
+ ## License
22
+
23
+ This dataset follows the Waymo Open Dataset license for non-commercial use.
24
+ See the [Waymo Open Dataset License](https://waymo.com/open/terms/) for details.
extract_waymo_data.sh ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Script to extract Waymo processed data to the target location
4
+
5
+ # Define target directory
6
+ TARGET_DIR="/workspace/Pointcept/data/waymo"
7
+
8
+ # Create target directories if they don't exist
9
+ mkdir -p "$TARGET_DIR/training"
10
+ mkdir -p "$TARGET_DIR/validation"
11
+
12
+ echo "Starting extraction to $TARGET_DIR..."
13
+
14
+ # Extract training data
15
+ echo "Extracting training data..."
16
+ cd training
17
+ cat processed_waymo_training.tar.zst.part* | \
18
+ tar --use-compress-program=unzstd -xf - \
19
+ --strip-components=3 \
20
+ -C "$TARGET_DIR/training" \
21
+ --wildcards "content/Pointcept/processed_waymo/training/*"
22
+
23
+ # Check if training extraction was successful
24
+ if [ $? -eq 0 ]; then
25
+ echo "Training data extraction completed successfully."
26
+ else
27
+ echo "Error: Training data extraction failed."
28
+ exit 1
29
+ fi
30
+
31
+ # Extract validation data
32
+ echo "Extracting validation data..."
33
+ cd ../validation
34
+ cat processed_waymo_validation.tar.zst | \
35
+ tar --use-compress-program=unzstd -xf - \
36
+ --strip-components=3 \
37
+ -C "$TARGET_DIR/validation" \
38
+ --wildcards "content/Pointcept/processed_waymo/validation/*"
39
+
40
+ # Check if validation extraction was successful
41
+ if [ $? -eq 0 ]; then
42
+ echo "Validation data extraction completed successfully."
43
+ else
44
+ echo "Error: Validation data extraction failed."
45
+ exit 1
46
+ fi
47
+
48
+ # Return to the original directory
49
+ cd ..
50
+
51
+ # Print some stats about the extracted data
52
+ echo "Statistics of extracted data:"
53
+ echo "Training data:"
54
+ find "$TARGET_DIR/training" -type f | wc -l | xargs echo " Total files:"
55
+ du -sh "$TARGET_DIR/training" | awk '{print " Total size: " $1}'
56
+
57
+ echo "Validation data:"
58
+ find "$TARGET_DIR/validation" -type f | wc -l | xargs echo " Total files:"
59
+ du -sh "$TARGET_DIR/validation" | awk '{print " Total size: " $1}'
60
+
61
+ echo "Extraction completed successfully!"
62
+ echo "Data extracted to:"
63
+ echo " - $TARGET_DIR/training"
64
+ echo " - $TARGET_DIR/validation"