| # Exporting the actual patched inference.py |
|
|
| The final notebook patches the public MMDuet2 `proactive_eval/inference.py` at runtime. |
| After running Cell 3 in Colab, the actual patched file is located at: |
|
|
| ```text |
| /content/work/repo_v4_final/proactive_eval/inference.py |
| ``` |
|
|
| To export it for review, run: |
|
|
| ```python |
| from pathlib import Path |
| import shutil |
| OUT = Path('/content/drive/MyDrive/humomni_track2_phase1_data/hf_upload') |
| OUT.mkdir(parents=True, exist_ok=True) |
| shutil.copy('/content/work/repo_v4_final/proactive_eval/inference.py', OUT / 'modified_inference.py') |
| ``` |
|
|
| We do not include a fabricated full `modified_inference.py` here; the official public base repository plus `patch_mmd duet2_inference.py` and the notebook reproduce the exact modifications. |
|
|