DDuckG commited on
Commit
bb8d644
·
verified ·
1 Parent(s): 46ed9ba

Upload object detection v2 artifacts

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +47 -3
  3. artifact_metadata.jsonl +2 -0
  4. concepts.jsonl +0 -0
  5. detections.jsonl +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ detections.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,47 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Object detection
2
+
3
+ This directory contains concepts and object detections generated from the second keyframe set. The primary artifacts are `concepts.jsonl` and `detections.jsonl`; `artifact_metadata.jsonl` records the input, model, prompt version, subset, and Git lineage.
4
+
5
+ ## `concepts.jsonl`
6
+
7
+ Each line is one `ConceptRecord`, a short list of general concepts proposed for one keyframe.
8
+
9
+ Common fields:
10
+
11
+ - `concept_id`: stable concept identifier
12
+ - `video_id`: source video identifier
13
+ - `time_span`: `[timestamp_ms, timestamp_ms]` in source video time
14
+ - `keyframe_id`: referenced canonical keyframe
15
+ - `concepts`: unique general visual concepts used as detection prompts
16
+
17
+ ## `detections.jsonl`
18
+
19
+ Each line is one `TrackingDetectionRecord`, a detected object in one keyframe.
20
+
21
+ Common fields:
22
+
23
+ - `detection_id`: stable observation identifier
24
+ - `video_id`: source video identifier
25
+ - `time_span`: `[timestamp_ms, timestamp_ms]` in source video time
26
+ - `label`: detected object class
27
+ - `bbox`: normalized object region with `x_min`, `y_min`, `x_max`, and `y_max`
28
+ - `confidence`: SAM3 detection score
29
+ - `concept_id`: concept that prompted this detection
30
+ - `track_id`: sparse association within the source shot
31
+ - `frame_index`: source frame index
32
+
33
+ The published files are merged across all 700 videos. Each JSONL line keeps its `video_id`, so consumers can filter one video without restoring the former shard directories.
34
+
35
+ ## Generation flow
36
+
37
+ A vision endpoint proposes general concepts from the keyframes. SAM3 verifies and localizes those concepts, then associates matching boxes across adjacent keyframes in the same shot. It publishes concepts and detections separately so visible text remains the responsibility of OCR.
38
+
39
+ Run detection for the GEBD and MaxInfo keyframe set:
40
+
41
+ ```bash
42
+ make data-detection \
43
+ JOB='concepts detection' \
44
+ INPUT=/data/aic/shared/artifacts/keyframesv2/keyframes.jsonl \
45
+ OUTPUT=/data/aic/shared/artifacts/object_detectionv2 \
46
+ SUBSET=700vid
47
+ ```
artifact_metadata.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"artifact":"concepts.jsonl","input":"../../keyframesv2/keyframes/00cdb8ca10c069f8","subset":"700vid","stage":"concept_extractor.keyframe","model":"Cosmos3-Super","prompt_version":"aic26_keyframe_entities_v6","git_commit":"598401c15a646a0586135a1a380eadad63a89d2d"}
2
+ {"artifact":"detections.jsonl","input":"concepts.jsonl","subset":"700vid","stage":"object_detection.sam3_image","model":"facebook/sam3","prompt_version":"multi_query_keyframe_v1","git_commit":"598401c15a646a0586135a1a380eadad63a89d2d"}
concepts.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
detections.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bbe29f5e80fc3ed2cdfac6cce466947d73e05b11e83739ab35b5eeb5190b56c
3
+ size 136616392