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)