A long time ago, in a galaxy far far away...
This commit is contained in:
@@ -8,6 +8,15 @@ from imagepipeline import Pipeline
|
||||
INPUT = Path("/home/frank/pics/20260525_Shooting Baxxter Boys/darktable_exported")
|
||||
OUTPUT_BASE = Path.home() / "pipeline_output"
|
||||
|
||||
# Reuse outputs from a previous run or external folder (key = step id, e.g. rembg_01).
|
||||
EXISTING_OUTPUTS: dict[str, Path] = {
|
||||
# "rembg_01": Path("/home/frank/pipeline_output/baxxter_260530102700/rembg_01"),
|
||||
}
|
||||
|
||||
# Resume an aborted run: point to its output root folder (or None for a fresh run).
|
||||
CONTINUE_FROM: Path | None = Path("/home/frank/pipeline_output/baxxter_260530102700")
|
||||
# CONTINUE_FROM = None
|
||||
|
||||
GRADIENT_COLOR1 = "#d7fd00ff"
|
||||
GRADIENT_COLOR2 = "#fc0adeff"
|
||||
|
||||
@@ -36,6 +45,8 @@ def main() -> None:
|
||||
name="baxxter",
|
||||
input_dir=INPUT,
|
||||
output_base=OUTPUT_BASE,
|
||||
existing_outputs=EXISTING_OUTPUTS or None,
|
||||
continue_from=CONTINUE_FROM,
|
||||
) as p:
|
||||
rembg_out = p.step("rembg", inputs="input")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user