fix example gen and update README
Browse files- README.md +2 -0
- something_something_v2.py +2 -2
README.md
CHANGED
@@ -58,6 +58,8 @@ tags: []
|
|
58 |
|
59 |
### Dataset Summary
|
60 |
|
|
|
|
|
61 |
The Something-Something dataset (version 2) is a collection of 220,847 labeled video clips of humans performing pre-defined, basic actions with everyday objects. It is designed to train machine learning models in fine-grained understanding of human hand gestures like putting something into something, turning something upside down and covering something with something.
|
62 |
|
63 |
### Supported Tasks and Leaderboards
|
|
|
58 |
|
59 |
### Dataset Summary
|
60 |
|
61 |
+
__NOTE__: this is a patched fork of [the original dataset from Hugging Face M4](https://huggingface.co/datasets/HuggingFaceM4/something_something_v2)
|
62 |
+
|
63 |
The Something-Something dataset (version 2) is a collection of 220,847 labeled video clips of humans performing pre-defined, basic actions with everyday objects. It is designed to train machine learning models in fine-grained understanding of human hand gestures like putting something into something, turning something upside down and covering something with something.
|
64 |
|
65 |
### Supported Tasks and Leaderboards
|
something_something_v2.py
CHANGED
@@ -156,8 +156,8 @@ class SomethingSomethingV2(datasets.GeneratorBasedBuilder):
|
|
156 |
"video_id": video_id,
|
157 |
"video": file,
|
158 |
"placeholders": info.get("placeholders", []),
|
159 |
-
"label": info["
|
160 |
-
"text": info["
|
161 |
}
|
162 |
|
163 |
idx += 1
|
|
|
156 |
"video_id": video_id,
|
157 |
"video": file,
|
158 |
"placeholders": info.get("placeholders", []),
|
159 |
+
"label": info["template"],
|
160 |
+
"text": info["label"] if "label" in info else -1,
|
161 |
}
|
162 |
|
163 |
idx += 1
|