CameraBench / tmp.py
syCen's picture
nothing
edc9e77
raw
history blame contribute delete
276 Bytes
from datasets import Dataset, Features, Value, Video
features = Features({
"video": Video(), # ✅ 指定 video 字段是视频类型
"labels": [Value("string")],
"caption": Value("string")
})
dataset = Dataset.from_json("videos_test.jsonl", features=features)