Spaces:
Running on Zero
Running on Zero
Download src/codecopsd/configs/__init__.py from HikariDawn/CodecOPSD-H3-Ref2VA: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/src/codecopsd/configs/__init__.py
- Command line
-
hf download hf://spaces/HikariDawn/CodecOPSD-H3-Ref2VA/src/codecopsd/configs/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/src/codecopsd/configs/__init__.py
598 Bytes
| """On-Policy Codec Distillation for Efficient All-in-One Video Generation (CodecOPSD). | |
| Authors: Boyang Wang, Kevin Blackburn-Matzen, Oindrila Saha, Matheus Gadelha, Zezhou Cheng | |
| Copyright (c) 2026 The CodecOPSD Authors. All rights reserved. | |
| Settings of the released code, one commented YAML file per topic (`load("codec_gazer")`).""" | |
| from functools import cache | |
| from importlib.resources import files | |
| import yaml | |
| def load(name): | |
| """The settings in `src/codecopsd/configs/<name>.yaml` as a dict.""" | |
| return yaml.safe_load(files(__package__).joinpath(f"{name}.yaml").read_text()) | |