yb1n's picture
Upload folder using huggingface_hub
29d1fb6 verified
Raw
History Blame Contribute Delete
589 Bytes
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()