Rahima411 commited on
Commit
c7c030a
·
verified ·
1 Parent(s): 8ae7da7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md CHANGED
@@ -1,3 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
  # UCF-Crime: Precomputed I3D Features with Temporal Annotations
3
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - video-anomaly-detection
7
+ - computer-vision
8
+ - temporal-action-localization
9
+ - ucf-crime
10
+ - i3d-features
11
+ datasets:
12
+ - sultani/real-world-anomaly-detection-in-surveillance-videos
13
+ task_categories:
14
+ - video-classification
15
+ size_categories:
16
+ - 1GB<n
17
+ pretty_name: UCF-Crime I3D Features
18
+ pipeline_tag: video-classification
19
+ widget:
20
+ - example_title: Example Video Features
21
+ example_code: |
22
+ import h5py
23
+ import numpy as np
24
+ with h5py.File('ucf_crime_features_labeled.h5', 'r') as f:
25
+ features = np.array(f['Abuse/Abuse001_x264/features'][:10])
26
+ labels = np.array(f['Abuse/Abuse001_x264/labels'][:10])
27
+ print("Features shape:", features.shape)
28
+ print("Labels:", labels)
29
+ subdir_list:
30
+ - abuse
31
+ - arrest
32
+ - assault
33
+ - arrest_features
34
+ - arson_features
35
+ - assault_features
36
+ - burglary_features
37
+ - explosion_features
38
+ - fighting_features
39
+ - normal_features
40
+ - roadaccidents_features
41
+ - robbery_features
42
+ - shooting_features
43
+ - shoplifting_features
44
+ - stealing_features
45
+ - vandalism_features
46
+
47
+ data_files:
48
+ - train: ucf_crime_features_labeled.h5 # Single file with splits via metadata
49
+ - validation: ucf_crime_features_labeled.h5
50
+ - test: ucf_crime_features_labeled.h5
51
+ ---
52
+
53
+
54
 
55
  # UCF-Crime: Precomputed I3D Features with Temporal Annotations
56