From 41833f4068644f9afb71adcc5742a51770181778 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Fri, 29 May 2020 15:30:16 -0400 Subject: [PATCH] fixed Anime4KCPP multi-processing mishandling issue --- src/upscaler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/upscaler.py b/src/upscaler.py index f5b25de..f9392ba 100755 --- a/src/upscaler.py +++ b/src/upscaler.py @@ -4,7 +4,7 @@ Name: Video2X Upscaler Author: K4YT3X Date Created: December 10, 2018 -Last Modified: May 26, 2020 +Last Modified: May 29, 2020 Description: This file contains the Upscaler class. Each instance of the Upscaler class is an upscaler on an image or @@ -282,7 +282,7 @@ class Upscaler: process_directory.mkdir(parents=True, exist_ok=True) # waifu2x-converter-cpp will perform multi-threading within its own process - if self.driver in ['waifu2x_converter_cpp', 'waifu2x_ncnn_vulkan', 'srmd_ncnn_vulkan', 'realsr_ncnn_vulkan']: + if self.driver in ['waifu2x_converter_cpp', 'waifu2x_ncnn_vulkan', 'srmd_ncnn_vulkan', 'realsr_ncnn_vulkan', 'anime4kcpp']: process_directories = [self.extracted_frames] else: