Views
No views yet
224x224 face crop, scaled to [0, 1],
shape (N, 1, H, W).(N, 136) — 68 (x, y) pairs, normalised to [-0.5, 0.5] relative to the
crop. Multiply by the crop size and add half of it to get pixels.1from huggingface_hub import hf_hub_download
2from safetensors.torch import load_file
3
4from fkp.models import build_model
5
6path = hf_hub_download("FrancescoMrn/cnn-fkp-deep", "model.safetensors")
7model = build_model("deep_cnn")
8model.load_state_dict(load_file(path))
9model.eval()fkp resolves the config automatically:1from fkp.hub import load_from_hub
2
3model, meta = load_from_hub("FrancescoMrn/cnn-fkp-deep")| region | NME |
|---|---|
| jaw | 0.1281 |
| left_brow | 0.1019 |
| right_brow | 0.0975 |
| mouth | 0.0884 |
| nose | 0.0823 |
| left_eye | 0.0798 |
| right_eye | 0.0772 |
| architecture | deep_cnn |
| optimiser | adamw @ lr 0.001 |
| loss | mse |
| schedule | cosine |
| initialisation | kaiming |
| batch size | 64 |
| epochs | 200 |
| seed | 0 |
| split | 2766 train / 696 validation images |
| identities | 278 / 69, no overlap |