Views
No views yet
facebook__sapiens2-seg-0.4b-int4-g128.safetensors: packed INT4 safetensors artifact.load_sapiens2_int4.py: loader that reconstructs a PyTorch state dict for the official Sapiens2 model code.config.json and preprocessor_config.json: copied from the source repo.quantization_report.json: build report.b27f69ec02eda650a403e3d6f1b4cf2f0a81b6c012816264068042110240207.7072x4241520.0147699590.00%PASS99.360680%0.9898911121from load_sapiens2_int4 import load_state_dict
2
3state_dict = load_state_dict("facebook__sapiens2-seg-0.4b-int4-g128.safetensors", device="cpu")
4# Then instantiate the matching official Sapiens2 architecture and load:
5# model.load_state_dict(state_dict, strict=True)