Skip to content

Commit

Permalink
fix(api): do not overlap upscale tiles during highres
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 2, 2023
1 parent b4db21e commit d98ecc0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/onnx_web/chain/highres.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@ def stage_highres(
outscale=highres.scale,
),
chain=chain,
overlap=params.overlap,
)
else:
logger.debug("using simple upscaling for highres")
chain.stage(
UpscaleSimpleStage(),
stage,
overlap=params.overlap,
upscale=upscale.with_args(scale=highres.scale, outscale=highres.scale),
)

Expand Down

0 comments on commit d98ecc0

Please sign in to comment.