Views
No views yet
STRM1from huggingface_hub import hf_hub_download
2import torch
3
4ckpt_path = hf_hub_download(repo_id="HSP-IIT/fsosar-strm-frdisc-ssv2-5shot", filename="model.pt")
5state_dict = torch.load(ckpt_path, map_location="cpu")
6
7# Requires the model definition from https://github.com/hsp-iit/fsosar
8from models import STRM
9from utils import load_configs
10
11config = load_configs("STRM", "Something-Something V2")
12model = STRM(config, disc=True, gc=False, dp=config["dp"])
13model.load_state_dict(state_dict, strict=True)
14model.eval()1@inproceedings{berti2026fsosar,
2 title = {A Baseline Study and Benchmark for Few-Shot Open-Set Action Recognition with Feature Residual Discrimination},
3 author = {Berti, Stefano and Pasquale, Giulia and Natale, Lorenzo},
4 booktitle = {International Conference on Pattern Recognition (ICPR)},
5 year = {2026}
6}