From fe7c0c840dd5ab555b2e2ea9ea4fc3a574231d9f Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 24 Oct 2019 21:33:05 -0400 Subject: [PATCH] fixed type error for waifu2x-ncnn-vulkan argument --- bin/waifu2x_ncnn_vulkan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/waifu2x_ncnn_vulkan.py b/bin/waifu2x_ncnn_vulkan.py index ca8054e..d74c128 100644 --- a/bin/waifu2x_ncnn_vulkan.py +++ b/bin/waifu2x_ncnn_vulkan.py @@ -4,7 +4,7 @@ Name: Waifu2x NCNN Vulkan Driver Author: SAT3LL Date Created: June 26, 2019 -Last Modified: August 3, 2019 +Last Modified: October 24, 2019 Dev: K4YT3X @@ -54,7 +54,7 @@ class Waifu2xNcnnVulkan: # overwrite config file settings self.waifu2x_settings['i'] = input_directory self.waifu2x_settings['o'] = output_directory - self.waifu2x_settings['s'] = scale_ratio + self.waifu2x_settings['s'] = int(scale_ratio) # print thread start message self.print_lock.acquire()