File size: 589 Bytes
29d1fb6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | from __future__ import annotations
import runpy
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1]
SCRIPTS = [
"00_check_environment.py",
"01_tokenizer.py",
"02_image_processor.py",
"03_processor_clip.py",
"04_custom_image_processor_roundtrip.py",
]
def main() -> None:
for script in SCRIPTS:
print(f"\n\n===== Running {script} =====", flush=True)
runpy.run_path(str(PROJECT_ROOT / "scripts" / script), run_name="__main__")
print("\n모든 실습이 완료되었습니다.")
if __name__ == "__main__":
main()
|