Konpat Preechakul commited on
Commit
5c97355
·
verified ·
1 Parent(s): 4fc7fcb

🎬 Upload circle behavior SFR 8-frame video dataset

Browse files

- 300k training videos + 10k test videos
- 8 frames per video, 256x256 resolution
- HDF5 format with MP4 encoding (~2.1GB total)
- Color Switch (infinite), Size Fixed (20px), Speed Random
- Generated with unified circle dataset generator

Dataset for video representation learning research.

README.md CHANGED
@@ -1,3 +1,123 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - video-classification
5
+ - other
6
+ language:
7
+ - en
8
+ tags:
9
+ - synthetic-data
10
+ - video
11
+ - circle-behavior
12
+ - physics-simulation
13
+ - machine-learning
14
+ - videomae
15
+ - representation-learning
16
+ size_categories:
17
+ - 100K<n<1M
18
+ pretty_name: Circle Behavior SFR 8-Frame Dataset
19
+ ---
20
+
21
+ # Circle Behavior SFR 8-Frame Video Dataset
22
+
23
+ ## Dataset Description
24
+
25
+ This dataset contains 310,000 synthetic videos of circle behavior simulations for machine learning research. Each video shows a circle with specific behavioral patterns: **S**witch color (infinite), **F**ixed size (20px), **R**andom speed.
26
+
27
+ **Pattern Code**: SFR = **S**witch Color, **F**ixed Size, **R**andom Speed
28
+
29
+ ## Dataset Structure
30
+
31
+ - **Training videos**: 300,000
32
+ - **Test videos**: 10,000
33
+ - **Total videos**: 310,000
34
+ - **Frames per video**: 8
35
+ - **Resolution**: 256×256 pixels
36
+ - **Storage format**: HDF5 with MP4-encoded videos
37
+ - **Total size**: ~2.1GB (train: 2.0GB, test: 69MB)
38
+
39
+ ## Sample Visualizations
40
+
41
+ ### Video Sequence Examples
42
+
43
+ Here are sample 8-frame sequences showing the SFR behavior pattern (horizontal temporal progression):
44
+
45
+ **Sample 1 - Color Switch Pattern:**
46
+
47
+ ![Sample 1 Sequence](sample_00_sequence.jpg)
48
+
49
+ **Sample 2 - Different Color Transitions:**
50
+
51
+ ![Sample 2 Sequence](sample_01_sequence.jpg)
52
+
53
+ **Sample 3 - Varied Movement Patterns:**
54
+
55
+ ![Sample 3 Sequence](sample_02_sequence.jpg)
56
+
57
+ ### Key Visual Features
58
+
59
+ - **Color Switching**: Colors change unpredictably at different time points
60
+ - **Fixed Size**: All circles maintain consistent 20-pixel radius
61
+ - **Random Speed**: Movement velocity varies between videos
62
+ - **Bounds Safety**: All trajectories stay within frame boundaries
63
+
64
+ ## Data Format
65
+
66
+ The dataset is stored in HDF5 format with the following structure:
67
+ - `train.h5`: Training data (2.0GB)
68
+ - `test.h5`: Test data (69MB)
69
+
70
+ Each video sequence contains 8 frames showing circle behavior with:
71
+ - **Color Behavior**: Infinite color switching (unpredictable changes)
72
+ - **Size Behavior**: Fixed at 20 pixels
73
+ - **Speed Behavior**: Random movement patterns
74
+
75
+ ## Usage
76
+
77
+ ### Python Usage
78
+ ```python
79
+ import h5py
80
+ import numpy as np
81
+
82
+ # Load training data
83
+ with h5py.File('train.h5', 'r') as f:
84
+ videos = f['videos'][:] # Shape: (300000, 8, 256, 256, 3)
85
+
86
+ # Load test data
87
+ with h5py.File('test.h5', 'r') as f:
88
+ test_videos = f['videos'][:] # Shape: (10000, 8, 256, 256, 3)
89
+ ```
90
+
91
+ ### Command Line Download
92
+ ```bash
93
+ # Download entire dataset
94
+ huggingface-cli download your-username/circle-behavior-sfr-8f-300k \
95
+ --repo-type dataset \
96
+ --local-dir ./circle_behavior_dataset
97
+
98
+ # Download specific file
99
+ huggingface-cli download your-username/circle-behavior-sfr-8f-300k \
100
+ train.h5 \
101
+ --repo-type dataset
102
+ ```
103
+
104
+ ## Dataset Statistics
105
+
106
+ | Attribute | Value |
107
+ |-----------|-------|
108
+ | Videos | 310,000 total |
109
+ | Resolution | 256×256 pixels |
110
+ | Frames/Video | 8 frames |
111
+ | Color Behavior | Switch (infinite) |
112
+ | Size Behavior | Fixed (20px) |
113
+ | Speed Behavior | Random |
114
+ | Format | HDF5 + MP4 |
115
+ | Size | 2.1GB |
116
+
117
+ ## Technical Details
118
+
119
+ - **Color Space**: RGB (0-255)
120
+ - **Frame Rate**: Variable (physics-based)
121
+ - **Compression**: MP4 encoding within HDF5
122
+ - **Validation**: Bounds-safe generation verified
123
+ - **Quality**: No corrupted frames, all videos validated
sample_00_sequence.jpg ADDED

Git LFS Details

  • SHA256: 7cc42f4db8e8cdb3946e70e3fa7a461a45081af9ecd9c8617ab236145187c115
  • Pointer size: 129 Bytes
  • Size of remote file: 3.33 kB
sample_01_sequence.jpg ADDED

Git LFS Details

  • SHA256: 83afc9f5ac9293ad51964540e4889f9d454822e4f532d84ab8196eea4bf83cc9
  • Pointer size: 129 Bytes
  • Size of remote file: 3.54 kB
sample_02_sequence.jpg ADDED

Git LFS Details

  • SHA256: fecd4d9be01d71c2a9a40f8435005655c2726e9375b5550305db715efa9b7adc
  • Pointer size: 129 Bytes
  • Size of remote file: 3.32 kB
test.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc2b5240eaa776a120307436ef581d8c245885b34a547f6c657beedd0b6851f6
3
+ size 71365780
train.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c7bb80a481a57edaaf6ddc6cc21927ebb2801e46358ad62f83b1e4c81fc2741
3
+ size 2139632174