Download scripts/evaluate_three_block_fppf.py from Cccccz/Self-Forcing: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/Cccccz/Self-Forcing/resolve/main/scripts/evaluate_three_block_fppf.py
- Command line
-
hf download hf://Cccccz/Self-Forcing/scripts/evaluate_three_block_fppf.py
-
curl -L -o evaluate_three_block_fppf.py https://huggingface.co/Cccccz/Self-Forcing/resolve/main/scripts/evaluate_three_block_fppf.py
632 Bytes
| #!/usr/bin/env python3 | |
| """Evaluate consecutive three-block Predictors with the FPPF protocol.""" | |
| from __future__ import annotations | |
| import sys | |
| from evaluate_two_block_fppf import main | |
| DEFAULTS = { | |
| "--architecture": "three_block", | |
| "--sweep_dir": "outputs/three_block_consecutive_sweep", | |
| "--output_dir": "outputs/three_block_fppf_eval", | |
| "--reference_root": "outputs/single_block_fppf_eval", | |
| "--schedule": "FPPF", | |
| } | |
| if __name__ == "__main__": | |
| present = set(sys.argv[1:]) | |
| for option, value in DEFAULTS.items(): | |
| if option not in present: | |
| sys.argv.extend([option, value]) | |
| main() | |