Views
No views yet
facebook__sapiens2-seg-5b-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.14bf9e6176c3c5eb9344bb5366f64097463e93101282035835462426316350567.7360x9683440.0041053790.00%PASS99.326630%0.9858194591from load_sapiens2_int4 import load_state_dict
2
3state_dict = load_state_dict("facebook__sapiens2-seg-5b-int4-g128.safetensors", device="cpu")
4# Then instantiate the matching official Sapiens2 architecture and load:
5# model.load_state_dict(state_dict, strict=True)