vagheshpatel commited on
Commit
0a4e18f
·
verified ·
1 Parent(s): 1446c40

Sync crowd-analysis from metro-analytics-catalog

Browse files
Files changed (2) hide show
  1. config.json +22 -0
  2. export_and_quantize.sh +12 -0
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "crowd-analysis",
3
+ "library_name": "openvino",
4
+ "pipeline_tag": "object-detection",
5
+ "category": "Object Detection (Crowd Density + Movement)",
6
+ "base_model": "YOLO26 (Ultralytics)",
7
+ "source_framework": "PyTorch (Ultralytics)",
8
+ "supported_precisions": [
9
+ "FP32",
10
+ "FP16",
11
+ "INT8"
12
+ ],
13
+ "inference_engine": "OpenVINO",
14
+ "hardware": [
15
+ "CPU",
16
+ "GPU",
17
+ "NPU"
18
+ ],
19
+ "detected_classes": "`person` (COCO class 0)",
20
+ "hf_repo_id": "Intel/crowd-analysis",
21
+ "description": "Crowd analysis use case using YOLO26 person detection with density levels and gvatrack-based movement flow"
22
+ }
export_and_quantize.sh CHANGED
@@ -47,6 +47,18 @@ if [[ "${APPROVAL}" != "yes" ]]; then
47
  echo "Download cancelled by user."
48
  exit 0
49
  fi
 
 
 
 
 
 
 
 
 
 
 
 
50
  echo ""
51
 
52
  echo "--- Downloading sample test image ---"
 
47
  echo "Download cancelled by user."
48
  exit 0
49
  fi
50
+
51
+ # Ping the HuggingFace repo to register a tracked download of config.json.
52
+ # This is best-effort: a failure (offline, or before the repo is published)
53
+ # must not stop the export.
54
+ echo "--- Registering HuggingFace download (tracking ping) ---"
55
+ HF_REPO_ID="Intel/crowd-analysis"
56
+ HF_CONFIG_URL="https://huggingface.co/${HF_REPO_ID}/resolve/main/config.json"
57
+ if curl -fsSL -o /dev/null "${HF_CONFIG_URL}"; then
58
+ echo "Registered HuggingFace download for ${HF_REPO_ID}"
59
+ else
60
+ echo "WARNING: HuggingFace tracking ping failed (offline?); continuing." >&2
61
+ fi
62
  echo ""
63
 
64
  echo "--- Downloading sample test image ---"