executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
interpolationUse ECCV2022-RIFE image-pair, video, and PNG-sequence interpolation CLIs safely, including checkpoints, scales, ratios, and output handling.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user asks to interpolate two frames, run RIFE on a video, make 2X/4X/16X slow motion, use an arbitrary --ratio, process a numbered PNG frame directory, tune UHD/4K --scale, create montage output, preserve or explain audio transfer, or diagnose RIFE checkpoint layout for inference.
Do not use this sub-skill for official benchmark metrics, dataset evaluation, training, Vimeo checkpoint production, or architecture changes. Route benchmarks/metrics to the repository evaluation guidance and route training/checkpoint production to the repository training guidance.
Confirm the user has a source checkout with dependencies available. The inference scripts are source scripts, not installed console entry points.
Confirm a checkpoint directory. The default is train_log; a non-default directory must be passed with --model. For the current source fallback, expect flownet.pkl inside the checkpoint directory.
Pick the workflow:
inference_img.py with --img left right, --exp or --ratio;inference_video.py with --video input.mp4;inference_video.py with --img frames_dir and numeric filenames such as 0.png, 1.png, ...;--UHD or an explicit --scale such as 0.5.Use the bundled command builder for safe command construction and optional input/checkpoint validation before proposing a long inference run:
python sub-skills/interpolation/scripts/interpolation_command_builder.py --help
Before running inference, tell the user where outputs will be written. Image interpolation writes output/img*.png or output/img*.exr relative to the current working directory. Video PNG output writes vid_out/*.png; video-file output writes the requested --output or a derived *_2X_*fps.<ext> / *_4X_*fps.<ext> style path.
If the user requests CUDA, FP16, or speed claims, state that functional inference can fall back to CPU but is much slower. --fp16 is only appropriate on CUDA devices with suitable Tensor Core support.
model.RIFE_HD* import paths; ordinary use falls back to model.RIFE.--skip as an active static-frame optimization; the current script prints that this flag is abandoned.