iejMac commited on
Commit
06b14e3
β€’
1 Parent(s): 30787db

Update READMe to new format

Browse files
Files changed (1) hide show
  1. README.md +22 -23
README.md CHANGED
@@ -50,31 +50,30 @@ The original dataset is ~700 GB making it difficult to use and hold in memory on
50
  ### Data Format
51
 
52
  We formatted this as a [WebDataset](https://github.com/webdataset/webdataset) for better data-loading performance when training the models.
53
- Each split contains a list of tar files each with 10000 data samples.
54
 
55
  ```
56
- CLIP-Kinetics700
57
- β”œβ”€β”€ train
58
- β”‚ β”œβ”€β”€ ds_00000.tar
59
- | | β”œβ”€β”€ name0.npy
60
- | | β”œβ”€β”€ name0.cap
61
- | | β”œβ”€β”€ name0.json
62
- | | β”œβ”€β”€ name1.npy
63
- | | β”œβ”€β”€ name1.cap
64
- | | β”œβ”€β”€ name1.json
65
- | | └── ...
66
- β”‚ β”œβ”€β”€ ds_00001.tar
67
- | | β”œβ”€β”€ name0.npy
68
- | | β”œβ”€β”€ name0.cap
69
- | | β”œβ”€β”€ name0.json
70
- | | └── ...
71
- β”‚ └── ...
72
- β”‚
73
- β”œβ”€β”€ val
74
- β”‚ ...
75
- β”œβ”€β”€ test
76
- β”‚ ...
77
- ```
78
 
79
  ### Data Fields
80
  * vid.npy: the numpy array with the per-frame embeddings. Shape -> (n_frames, 512)
 
50
  ### Data Format
51
 
52
  We formatted this as a [WebDataset](https://github.com/webdataset/webdataset) for better data-loading performance when training the models.
53
+ Each split contains a list of tar files each with 10000 data samples. This format can be read and used easily using the EmbeddingWebDatasetReader from [clip-video-encode](https://github.com/iejMac/clip-video-encode).
54
 
55
  ```
56
+ CLIP-Kinetics700
57
+ β”œβ”€β”€ splits.csv
58
+ β”œβ”€β”€ ds_00000.tar
59
+ | β”œβ”€β”€ vid_00000.npy
60
+ | β”œβ”€β”€ vid_00000.txt
61
+ | β”œβ”€β”€ vid_00000.json
62
+ | β”œβ”€β”€ vid_00001.npy
63
+ | β”œβ”€β”€ vid_00001.txt
64
+ | β”œβ”€β”€ vid_00001.json
65
+ | └── ...
66
+ | β”œβ”€β”€ vid_10000.npy
67
+ | β”œβ”€β”€ vid_10000.txt
68
+ | β”œβ”€β”€ vid_10000.json
69
+ β”œβ”€β”€ ds_00001.tar
70
+ | β”œβ”€β”€ vid_10001.npy
71
+ | β”œβ”€β”€ vid_10001.txt
72
+ | β”œβ”€β”€ vid_10001.json
73
+ β”‚ ...
74
+ ...
75
+ ```
76
+
 
77
 
78
  ### Data Fields
79
  * vid.npy: the numpy array with the per-frame embeddings. Shape -> (n_frames, 512)