From 829d0c8c59fba5bb302973e7a67dddc4e13a610e Mon Sep 17 00:00:00 2001 From: Viner Abubakirov Date: Wed, 1 Apr 2026 18:55:10 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20re?= =?UTF-8?q?adme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ main.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 221e3d9..099dc68 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # AMT-Apple +Установить `uv`: https://docs.astral.sh/uv/#highlights + +Установить ffmpeg + +Запуск: +``` +uv run main.py +``` diff --git a/main.py b/main.py index 47a7a65..fd8256f 100644 --- a/main.py +++ b/main.py @@ -137,7 +137,7 @@ def main(): logging.info("Starting video interpolation process") config_path = Path("src/config/AMT-G.yaml") ckpt_path = Path("src/pretrained/amt-g.pth") - video_path = Path("source/video.mp4") + video_path = Path("example/video.mp4") output_dir = Path("output/frames") output_interpolated_dir = Path("output/interpolated") output_interpolated_dir.mkdir(parents=True, exist_ok=True) @@ -194,7 +194,7 @@ def builder(): frames_dir = "output/frames" interpolated_dir = "output/interpolated" moved_dir = "output/moved" - video_path = "source/video.mp4" + video_path = "example/video.mp4" output_video = "output/interpolated_video.mp4" move_images(frames_dir, interpolated_dir, moved_dir)