From b1f29f109822d1c5a443e635b5601d3e4ab9c05d Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Fri, 15 Nov 2019 01:09:55 -0500 Subject: [PATCH] fixed NCNN Vulkan driver argument error --- src/waifu2x_ncnn_vulkan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/waifu2x_ncnn_vulkan.py b/src/waifu2x_ncnn_vulkan.py index dd51a36..a1dffe7 100755 --- a/src/waifu2x_ncnn_vulkan.py +++ b/src/waifu2x_ncnn_vulkan.py @@ -4,7 +4,7 @@ Name: Waifu2x NCNN Vulkan Driver Author: SAT3LL Date Created: June 26, 2019 -Last Modified: October 6, 2019 +Last Modified: November 15, 2019 Dev: K4YT3X @@ -54,7 +54,7 @@ class Waifu2xNcnnVulkan: # overwrite config file settings self.driver_settings['i'] = input_directory self.driver_settings['o'] = output_directory - self.driver_settings['s'] = scale_ratio + self.driver_settings['s'] = int(scale_ratio) # print thread start message self.print_lock.acquire()