Fix typos discovered by codespell (#95)

* Improve performance

* !fixup Fix typo discovered by codespell

* fixup! Fix typo discovered by codespell

* fixup! Add codespell to lint process
This commit is contained in:
Christian Clauss
2021-09-27 08:53:03 +02:00
committed by GitHub
parent aa584e05bc
commit 14247a89d9
4 changed files with 6 additions and 5 deletions

View File

@@ -81,10 +81,10 @@ def main():
h, w = img.shape[0:2]
if max(h, w) > 1000 and args.netscale == 4:
import warnings
warnings.warn('The input image is large, try X2 model for better performace.')
warnings.warn('The input image is large, try X2 model for better performance.')
if max(h, w) < 500 and args.netscale == 2:
import warnings
warnings.warn('The input image is small, try X4 model for better performace.')
warnings.warn('The input image is small, try X4 model for better performance.')
try:
if args.face_enhance: