Skip to content

Commit

Permalink
feat(api): apply overlap to highres upscaling stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 3, 2023
1 parent 47b1094 commit ed953f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/onnx_web/chain/highres.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ def stage_highres(
outscale=highres.scale,
),
chain=chain,
overlap=params.overlap,
)
else:
logger.debug("using simple upscaling for highres")
chain.stage(
UpscaleSimpleStage(),
stage,
method=highres.method,
overlap=params.overlap,
upscale=upscale.with_args(scale=highres.scale, outscale=highres.scale),
)

Expand Down

0 comments on commit ed953f5

Please sign in to comment.