Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: mixed-cc-by-nc-sa-4.0-and-mit
|
| 4 |
+
tags:
|
| 5 |
+
- video-saliency
|
| 6 |
+
- shot-boundary-detection
|
| 7 |
+
- safetensors
|
| 8 |
+
- reframe
|
| 9 |
+
library_name: safetensors
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# reframe-asd-weights
|
| 13 |
+
|
| 14 |
+
Verified, re-containered **safetensors** weights used by the Reframe vertical-video
|
| 15 |
+
pipeline. Each file was produced offline in a trusted environment by unpickling the
|
| 16 |
+
original author checkpoint with `torch.load(..., weights_only=True)`, flattening to a
|
| 17 |
+
plain `{str: Tensor}` state-dict, saving via `safetensors.torch.save_file`, then
|
| 18 |
+
**reloading and proving exact tensor-equality** (`shape` + `dtype` + `torch.equal`) on
|
| 19 |
+
every tensor against the original. No tensor values were altered — these are pure
|
| 20 |
+
re-containers of the upstream weights. The `sha256` values below pin the **hosted
|
| 21 |
+
safetensors bytes**.
|
| 22 |
+
|
| 23 |
+
> Licenses differ per file (see each section). This repository is redistributed for
|
| 24 |
+
> **personal / non-commercial** use. The ViNet-S weight is CC BY-NC-SA 4.0 (ShareAlike);
|
| 25 |
+
> the TransNetV2 weight is MIT.
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## `vinet-s-saliency.safetensors` — ViNet-S video saliency (DHF1K)
|
| 30 |
+
|
| 31 |
+
- **File size:** 38,138,372 bytes
|
| 32 |
+
- **sha256:** `803e6d265d46d3f4f3d7ec2c6c2f3b4511f9ba176aa12e348ac317788ca0dc68`
|
| 33 |
+
- **Tensors:** 470, exact tensor-equality vs original VERIFIED
|
| 34 |
+
- **Original source:** author checkpoints bundle on Google Drive
|
| 35 |
+
(file id `12UeAsdiD2xPLmoLRDcE_HjAUjxFdmw5N`, `checkpoints.tar.gz`, ~2.83 GiB),
|
| 36 |
+
member `final_models/ViNet_S/vinet_s_visual_dataset_models/vinet_s_dhf1k.pt`
|
| 37 |
+
(38,266,829 bytes, sha256 `5d097a6b145b2cff7f08aa141a91e7aec4ac967504b439f4b04110c7e475cbbd`).
|
| 38 |
+
- **Upstream repo:** https://github.com/ViNet-Saliency/vinet_v2
|
| 39 |
+
- **License:** **CC BY-NC-SA 4.0** — https://creativecommons.org/licenses/by-nc-sa/4.0/
|
| 40 |
+
|
| 41 |
+
**Attribution (required by CC BY-NC-SA 4.0):**
|
| 42 |
+
|
| 43 |
+
> ViNet-S / ViNet++ saliency weights (c) 2025 Rohit Girmaji, Siddharth Jain, Bhav Beri,
|
| 44 |
+
> Sarthak Bansal, Vineet Gandhi (IIIT Hyderabad). "Minimalistic Video Saliency Prediction
|
| 45 |
+
> via Efficient Decoder & Spatio-Temporal Action Cues", ICASSP 2025 (arXiv:2502.00397).
|
| 46 |
+
> Licensed under CC BY-NC-SA 4.0. Redistributed here, re-containered to safetensors with
|
| 47 |
+
> tensor values unchanged, under the same CC BY-NC-SA 4.0 license (ShareAlike) for
|
| 48 |
+
> non-commercial use.
|
| 49 |
+
|
| 50 |
+
The DHF1K visual-only checkpoint is the general saliency model (no audio / no face
|
| 51 |
+
dependency), appropriate for subject-tracking crops.
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## `transnetv2.safetensors` — TransNetV2 shot/scene-boundary detector
|
| 56 |
+
|
| 57 |
+
- **File size:** 30,481,608 bytes
|
| 58 |
+
- **sha256:** `e2877ef6750ccbb3f02256bb4b5f4f53035111677be641d56b9723af499f881d`
|
| 59 |
+
- **Tensors:** 90, exact tensor-equality vs original VERIFIED
|
| 60 |
+
- **Original source (bytes obtained from):** HuggingFace mirror
|
| 61 |
+
https://huggingface.co/Sn4kehead/TransNetV2 — `transnetv2-pytorch-weights.pth`
|
| 62 |
+
(30,508,183 bytes, sha256 `834b10f25ae9e1b4e4f2652fe2843bd2b1388057a435d68b7c52635578fcc04d`).
|
| 63 |
+
- **Upstream (canonical) repo:** https://github.com/soCzech/TransNetV2 (**MIT**). The
|
| 64 |
+
PyTorch weights are a derived artifact of the upstream TensorFlow SavedModel via the
|
| 65 |
+
repo's `convert_weights.py`.
|
| 66 |
+
- **License:** **MIT** (soCzech/TransNetV2). Note: the Sn4kehead mirror card labels its
|
| 67 |
+
copy `apache-2.0`; both MIT and Apache-2.0 permit redistribution with attribution. The
|
| 68 |
+
authoritative upstream license for these weights is MIT.
|
| 69 |
+
|
| 70 |
+
**Attribution:**
|
| 71 |
+
|
| 72 |
+
> TransNet V2 (c) Tomas Soucek & Jakub Lokoc. "TransNet V2: An Effective Deep Network
|
| 73 |
+
> Architecture for Fast Shot Transition Detection." Source:
|
| 74 |
+
> https://github.com/soCzech/TransNetV2 (MIT License). PyTorch weights converted from the
|
| 75 |
+
> upstream TensorFlow SavedModel; re-containered here to safetensors with tensor values
|
| 76 |
+
> unchanged.
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Verification recipe (reproducible)
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from safetensors.torch import load_file
|
| 84 |
+
import torch
|
| 85 |
+
sd = load_file("vinet-s-saliency.safetensors") # or transnetv2.safetensors
|
| 86 |
+
# sd is a flat {str: torch.Tensor}; load_state_dict directly. No torch.load / pickle.
|
| 87 |
+
```
|