corrected ncnn Vulkan drivers' names

This commit is contained in:
K4YT3X 2021-01-07 00:34:18 -05:00
parent 7201c036d5
commit b41f1f7e6c
5 changed files with 29 additions and 12 deletions

View File

@ -45,10 +45,12 @@ Contact: [k4yt3x@k4yt3x.com](mailto:k4yt3x@k4yt3x.com)"""
AVAILABLE_DRIVERS = { AVAILABLE_DRIVERS = {
"Waifu2X Caffe": "waifu2x_caffe", "Waifu2X Caffe": "waifu2x_caffe",
"Waifu2X Converter CPP": "waifu2x_converter_cpp", "Waifu2X Converter CPP": "waifu2x_converter_cpp",
"Waifu2X NCNN Vulkan": "waifu2x_ncnn_vulkan", "Waifu2X ncnn Vulkan": "waifu2x_ncnn_vulkan",
"SRMD NCNN Vulkan": "srmd_ncnn_vulkan", "SRMD ncnn Vulkan": "srmd_ncnn_vulkan",
"RealSR NCNN Vulkan": "realsr_ncnn_vulkan", "RealSR ncnn Vulkan": "realsr_ncnn_vulkan",
"Anime4KCPP": "anime4kcpp", "Anime4KCPP": "anime4kcpp",
"DAIN ncnn Vulkan": "dain_ncnn_vulkan",
"RIFE ncnn Vulkan": "rife_ncnn_vulkan",
} }
# get current working directory before it is changed by drivers # get current working directory before it is changed by drivers

View File

@ -378,7 +378,7 @@
</property> </property>
<item> <item>
<property name="text"> <property name="text">
<string>Waifu2X NCNN Vulkan</string> <string>Waifu2X ncnn Vulkan</string>
</property> </property>
</item> </item>
<item> <item>
@ -393,12 +393,12 @@
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>SRMD NCNN Vulkan</string> <string>SRMD ncnn Vulkan</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>RealSR NCNN Vulkan</string> <string>RealSR ncnn Vulkan</string>
</property> </property>
</item> </item>
<item> <item>
@ -406,6 +406,21 @@
<string>Anime4KCPP</string> <string>Anime4KCPP</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>DAIN ncnn Vulkan</string>
</property>
</item>
<item>
<property name="text">
<string>CAIN ncnn Vulkan</string>
</property>
</item>
<item>
<property name="text">
<string>RIFE ncnn Vulkan</string>
</property>
</item>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
Name: RealSR NCNN Vulkan Driver Name: RealSR ncnn Vulkan Driver
Creator: K4YT3X Creator: K4YT3X
Date Created: May 26, 2020 Date Created: May 26, 2020
Last Modified: September 21, 2020 Last Modified: September 21, 2020
@ -24,7 +24,7 @@ from avalon_framework import Avalon
class WrapperMain: class WrapperMain:
"""This class communicates with RealSR NCNN Vulkan engine """This class communicates with RealSR ncnn Vulkan engine
An object will be created for this class, containing information An object will be created for this class, containing information
about the binary address and the processing method. When being called about the binary address and the processing method. When being called
@ -66,7 +66,7 @@ class WrapperMain:
self.driver_settings["s"] = int(scale_ratio) self.driver_settings["s"] = int(scale_ratio)
def upscale(self, input_directory, output_directory): def upscale(self, input_directory, output_directory):
"""This is the core function for RealSR NCNN Vulkan class """This is the core function for RealSR ncnn Vulkan class
Arguments: Arguments:
input_directory {string} -- source directory path input_directory {string} -- source directory path

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
Name: SRMD NCNN Vulkan Driver Name: SRMD ncnn Vulkan Driver
Creator: K4YT3X Creator: K4YT3X
Date Created: April 26, 2020 Date Created: April 26, 2020
Last Modified: September 21, 2020 Last Modified: September 21, 2020
@ -24,7 +24,7 @@ from avalon_framework import Avalon
class WrapperMain: class WrapperMain:
"""This class communicates with SRMD NCNN Vulkan engine """This class communicates with SRMD ncnn Vulkan engine
An object will be created for this class, containing information An object will be created for this class, containing information
about the binary address and the processing method. When being called about the binary address and the processing method. When being called

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
Name: Waifu2x NCNN Vulkan Driver Name: Waifu2x ncnn Vulkan Driver
Creator: SAT3LL Creator: SAT3LL
Date Created: June 26, 2019 Date Created: June 26, 2019
Last Modified: May 11, 2020 Last Modified: May 11, 2020