From 880087241de475b4bb7fe14b0f2d47ef0ae8e6ba Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sat, 4 Jan 2020 16:56:08 -0500 Subject: [PATCH] updated waifu2x-ncnn-vulkan path key for new config structure --- src/waifu2x_ncnn_vulkan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/waifu2x_ncnn_vulkan.py b/src/waifu2x_ncnn_vulkan.py index a1dffe7..2664660 100755 --- a/src/waifu2x_ncnn_vulkan.py +++ b/src/waifu2x_ncnn_vulkan.py @@ -2,11 +2,12 @@ # -*- coding: utf-8 -*- """ Name: Waifu2x NCNN Vulkan Driver -Author: SAT3LL +Creator: SAT3LL Date Created: June 26, 2019 Last Modified: November 15, 2019 -Dev: K4YT3X +Editor: K4YT3X +Last Modified: January 4, 2020 Description: This class is a high-level wrapper for waifu2x_ncnn_vulkan. @@ -37,7 +38,7 @@ class Waifu2xNcnnVulkan: # waifu2x_ncnn_vulkan can't find its own model directory if its not in the current dir # so change to it - os.chdir(os.path.join(self.driver_settings['waifu2x_ncnn_vulkan_path'], '..')) + os.chdir(os.path.join(self.driver_settings['path'], '..')) self.print_lock = threading.Lock()