mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +00:00
fixed Anime4KCPP multi-processing mishandling issue
This commit is contained in:
parent
c0955ae7e4
commit
41833f4068
@ -4,7 +4,7 @@
|
|||||||
Name: Video2X Upscaler
|
Name: Video2X Upscaler
|
||||||
Author: K4YT3X
|
Author: K4YT3X
|
||||||
Date Created: December 10, 2018
|
Date Created: December 10, 2018
|
||||||
Last Modified: May 26, 2020
|
Last Modified: May 29, 2020
|
||||||
|
|
||||||
Description: This file contains the Upscaler class. Each
|
Description: This file contains the Upscaler class. Each
|
||||||
instance of the Upscaler class is an upscaler on an image or
|
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)
|
process_directory.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
# waifu2x-converter-cpp will perform multi-threading within its own process
|
# 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]
|
process_directories = [self.extracted_frames]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user