Skip to content

Commit

Permalink
修复upscayl-bin使用4x以外倍率模型的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
TransparentLC committed May 27, 2024
1 parent b74fce4 commit 2f41377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions task.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def run(self) -> None:
'-i', inputPath,
'-o', outputPath,
'-s', str(self.config.modelFactor),
*(('-z', str(self.config.modelFactor)) if os.path.splitext(os.path.split(define.RE_PATH)[1])[0] == 'upscayl-bin' else ()),
'-t', str(self.config.tileSize),
'-n', self.config.model,
'-g', 'auto' if self.config.gpuID < 0 else str(self.config.gpuID),
Expand Down

0 comments on commit 2f41377

Please sign in to comment.