Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
- zero-shot-classification
|
| 6 |
+
tags:
|
| 7 |
+
- multimodal
|
| 8 |
+
- cross-modal-retrieval
|
| 9 |
+
- emergent-alignment
|
| 10 |
+
- frozen-representations
|
| 11 |
+
- pram
|
| 12 |
+
pretty_name: PRAM Frozen Multimodal Feature Packs
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# PRAM Frozen Multimodal Feature Packs
|
| 16 |
+
|
| 17 |
+
Pre-extracted frozen global (`float32`) and partwise local (`float16`) feature packs (`.npz`) for reproducing **PRAM: Activating Latent Multimodal Knowledge through Partwise Reasoning**.
|
| 18 |
+
|
| 19 |
+
- **Code**: [https://github.com/Luo1Yan/PRAM](https://github.com/Luo1Yan/PRAM)
|
| 20 |
+
- **Project Page**: [https://luo1yan.github.io/PRAM/](https://luo1yan.github.io/PRAM/)
|
| 21 |
+
|
| 22 |
+
## Included Feature Packs
|
| 23 |
+
|
| 24 |
+
### Main Cross-Modal Benchmarks (`packs/main/`)
|
| 25 |
+
|
| 26 |
+
| Pack File | Backbone | Dataset & Endpoints | Pivot | Parts |
|
| 27 |
+
| :--- | :--- | :--- | :--- | :--- |
|
| 28 |
+
| `packs/main/ib_utd_depth_imu.npz` | ImageBind | UTD-MHAD Depth–IMU | RGB Video | 8 Time Segments |
|
| 29 |
+
| `packs/main/ib_ego4d_audio_imu.npz` | ImageBind | Ego4D Audio–IMU | Video | 5 Time Segments |
|
| 30 |
+
| `packs/main/ib_ego4d_text_imu.npz` | ImageBind | Ego4D Text–IMU | Video | Text × 5 Time Segments |
|
| 31 |
+
| `packs/main/ib_vggsound_text_audio.npz` | ImageBind | VGGSound Text–Audio (Category) | Video Frames | Text × 5 Audio Segments |
|
| 32 |
+
| `packs/main/ib_cart_thermal_imu.npz` | ImageBind | CART Thermal–IMU | RGB Image | IMU Global × 7×7 Thermal Cells |
|
| 33 |
+
| `packs/main/ib_mavd_audio_thermal.npz` | ImageBind | MAVD Audio–Thermal | RGB Image | Audio Global × 7×7 Thermal Cells |
|
| 34 |
+
| `packs/main/lb_msrvtt_video_audio.npz` | LanguageBind | MSR-VTT Video–Audio | Caption | 4 Time Segments |
|
| 35 |
+
| `packs/main/lb_mavd_thermal_audio.npz` | LanguageBind | MAVD Thermal–Audio | Drive Prompt | Audio Global × 8×8 Thermal Cells |
|
| 36 |
+
|
| 37 |
+
### Real-World Sensing Scenarios (`packs/sensing/`)
|
| 38 |
+
|
| 39 |
+
| Pack File | Encoders | Dataset & Task | Pivot |
|
| 40 |
+
| :--- | :--- | :--- | :--- |
|
| 41 |
+
| `packs/sensing/wearable_utd_mhad.npz` | ImageBind + AnyMo | UTD-MHAD Wearable IMU-Only Action Recognition | RGB Video |
|
| 42 |
+
| `packs/sensing/wearable_czu_mhad.npz` | ResNet18 + ImageBind | CZU-MHAD Wearable IMU-Only Action Recognition | Depth Video |
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
git clone https://github.com/Luo1Yan/PRAM.git
|
| 48 |
+
cd PRAM
|
| 49 |
+
pip install -e .
|
| 50 |
+
|
| 51 |
+
# Run starter main benchmarks (auto-downloads required packs from this dataset)
|
| 52 |
+
python run.py \
|
| 53 |
+
--config configs/quick_real.json \
|
| 54 |
+
--hf_repo Rowance/PRAM-features \
|
| 55 |
+
--data_dir ./data_cache
|
| 56 |
+
|
| 57 |
+
# Run wearable IMU-only sensing benchmark
|
| 58 |
+
python run.py \
|
| 59 |
+
--config configs/sensing_wearable.json \
|
| 60 |
+
--hf_repo Rowance/PRAM-features \
|
| 61 |
+
--data_dir ./data_cache
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
## Schema
|
| 65 |
+
|
| 66 |
+
Each `.npz` file is a pickle-free archive (`allow_pickle=False`) storing `float32` global frozen features (`a_global`, `p_global`, `b_global`), `float16` partwise local features (optional `a_local`, `p_local`, `b_local`), `int64` split indices and labels (`train_idx`, `test_idx`, optional `labels`, `groups`), and UTF-8 JSON metadata (`meta_json`). All original dataset licenses apply to the underlying datasets.
|