updated GUI UI file for new settings

This commit is contained in:
k4yt3x 2020-05-06 10:39:47 -04:00
parent c8dbb90f5b
commit 89fa91c8c5

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>618</width> <width>622</width>
<height>389</height> <height>474</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -30,7 +30,7 @@
<item> <item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="mainTab"> <widget class="QWidget" name="mainTab">
<attribute name="title"> <attribute name="title">
@ -159,7 +159,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="cacheHorizontalLayout">
<item> <item>
<widget class="QLabel" name="cacheLabel"> <widget class="QLabel" name="cacheLabel">
<property name="minimumSize"> <property name="minimumSize">
@ -302,172 +302,268 @@
<attribute name="title"> <attribute name="title">
<string>Waifu2X Caffe</string> <string>Waifu2X Caffe</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<layout class="QVBoxLayout" name="waifu2xCaffeTabVerticalLayout"> <layout class="QHBoxLayout" name="waifu2xCaffePathHorizontalLayout">
<item> <item>
<layout class="QHBoxLayout" name="waifu2xCaffePathHorizontalLayout"> <widget class="QLineEdit" name="waifu2xCaffePathLineEdit"/>
<item>
<widget class="QLineEdit" name="waifu2xCaffePathLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="waifu2xCaffePathSelectButton">
<property name="text">
<string>Select Binary Path</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="waifu2xCaffeModeHorizontalLayout"> <widget class="QPushButton" name="waifu2xCaffePathSelectButton">
<item> <property name="text">
<widget class="QLabel" name="waifu2xCaffeModeLabel"> <string>Select Binary Path</string>
<property name="text"> </property>
<string>Mode</string> </widget>
</property> </item>
</widget> </layout>
</item> </item>
<item> <item>
<widget class="QComboBox" name="waifu2xCaffeModeComboBox"> <layout class="QHBoxLayout" name="waifu2xCaffeModeHorizontalLayout">
<item> <item>
<property name="text"> <widget class="QLabel" name="waifu2xCaffeModeLabel">
<string>Noise Scale</string> <property name="text">
</property> <string>Mode</string>
</item> </property>
<item> </widget>
<property name="text">
<string>Auto Scale</string>
</property>
</item>
<item>
<property name="text">
<string>Noise</string>
</property>
</item>
<item>
<property name="text">
<string>Scale</string>
</property>
</item>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="waifu2xCaffeNoiseLevelHorizontalLayout"> <widget class="QComboBox" name="waifu2xCaffeModeComboBox">
<item> <item>
<widget class="QLabel" name="waifu2xCaffeNoiseLevelLabel"> <property name="text">
<property name="text"> <string>noise_scale</string>
<string>Noise Level</string> </property>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="waifu2xCaffeNoiseLevelComboBox"> <property name="text">
<item> <string>auto_scale</string>
<property name="text"> </property>
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>1</string>
</property>
</item>
</widget>
</item> </item>
</layout> <item>
<property name="text">
<string>scale</string>
</property>
</item>
<item>
<property name="text">
<string>noise</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeNoiseLevelHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeNoiseLevelLabel">
<property name="text">
<string>Noise Level</string>
</property>
</widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="waifu2xCaffeProcessHorizontalLayout"> <widget class="QSpinBox" name="waifu2xCaffeNoiseLevelSpinBox">
<item> <property name="maximum">
<widget class="QLabel" name="waifu2xCaffeProcessLabel"> <number>3</number>
<property name="text"> </property>
<string>Process</string> <property name="value">
</property> <number>3</number>
</widget> </property>
</item> </widget>
<item> </item>
<widget class="QComboBox" name="waifu2xCaffeProcessComboBox"> </layout>
<item> </item>
<property name="text"> <item>
<string>GPU</string> <layout class="QHBoxLayout" name="waifu2xCaffeProcessHorizontalLayout">
</property> <item>
</item> <widget class="QLabel" name="waifu2xCaffeProcessLabel">
<item> <property name="text">
<property name="text"> <string>Process</string>
<string>cuDNN</string> </property>
</property> </widget>
</item>
<item>
<property name="text">
<string>CPU</string>
</property>
</item>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="waifu2xCaffeModelHorizontalLayout"> <widget class="QComboBox" name="waifu2xCaffeProcessComboBox">
<item> <item>
<widget class="QLabel" name="waifu2xCaffeModelLabel"> <property name="text">
<property name="text"> <string>gpu</string>
<string>Model</string> </property>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="waifu2xCaffeModelComboBox"> <property name="text">
<item> <string>cudnn</string>
<property name="text"> </property>
<string>cunet</string>
</property>
</item>
<item>
<property name="text">
<string>anime_style_art</string>
</property>
</item>
<item>
<property name="text">
<string>anime_style_art_rgb</string>
</property>
</item>
<item>
<property name="text">
<string>photo</string>
</property>
</item>
<item>
<property name="text">
<string>ukbench</string>
</property>
</item>
<item>
<property name="text">
<string>upconv_7_anime_style_art_rgb</string>
</property>
</item>
<item>
<property name="text">
<string>upconv_7_photo</string>
</property>
</item>
<item>
<property name="text">
<string>upresnet10</string>
</property>
</item>
</widget>
</item> </item>
</layout> <item>
<property name="text">
<string>cpu</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeModelHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeModelLabel">
<property name="text">
<string>Model</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="waifu2xCaffeModelComboBox">
<item>
<property name="text">
<string>cunet</string>
</property>
</item>
<item>
<property name="text">
<string>anime_style_art</string>
</property>
</item>
<item>
<property name="text">
<string>anime_style_art_rgb</string>
</property>
</item>
<item>
<property name="text">
<string>photo</string>
</property>
</item>
<item>
<property name="text">
<string>ukbench</string>
</property>
</item>
<item>
<property name="text">
<string>upconv_7_anime_style_art_rgb</string>
</property>
</item>
<item>
<property name="text">
<string>upconv_7_photo</string>
</property>
</item>
<item>
<property name="text">
<string>upresnet10</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeCropSizeHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeCropSizeLabel">
<property name="text">
<string>Crop Size</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xCaffeCropSizeSpinBox">
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>128</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeOutputQualityHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeOutputQualityLabel">
<property name="text">
<string>Output Quality</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xCaffeOutputQualitySpinBox">
<property name="minimum">
<number>-1</number>
</property>
<property name="value">
<number>-1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeOutputDepthHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeOutputDepthLabel">
<property name="text">
<string>Output Depth</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xCaffeOutputDepthSpinBox">
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>8</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeBatchSizeHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeBatchSizeLabel">
<property name="text">
<string>Batch Size</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xCaffeBatchSizeSpinBox">
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeGpuHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xCaffeGpuLabel">
<property name="text">
<string>GPU</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xCaffeGpuSpinBox"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xCaffeOptionsHorizontalLayout">
<item>
<widget class="QCheckBox" name="waifu2xCaffeTtaCheckBox">
<property name="text">
<string>TTA (Test-Time Augmentation)</string>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
@ -477,6 +573,135 @@
<attribute name="title"> <attribute name="title">
<string>Waifu2X Converter CPP</string> <string>Waifu2X Converter CPP</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppPathHorizontalLayout">
<item>
<widget class="QLineEdit" name="waifu2xConverterCppPathLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="waifu2xConverterCppPathSelectButton">
<property name="text">
<string>Select Binary Path</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppPngCompressionHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xConverterCppPngCompressionLabel">
<property name="text">
<string>PNG Compression</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xConverterCppPngCompressionSpinBox">
<property name="maximum">
<number>9</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppProcessorHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xConverterCppProcessorLabel">
<property name="text">
<string>Processor</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="waifu2xConverterCppProcessorSpinBox">
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>-1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppModelHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xConverterCppModelLabel">
<property name="text">
<string>Model</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="waifu2xConverterCppModelComboBox">
<item>
<property name="text">
<string>models_rgb</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppModeHorizontalLayout">
<item>
<widget class="QLabel" name="waifu2xConverterCppModeLabel">
<property name="text">
<string>Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="waifu2xConverterCppModeComboBox">
<item>
<property name="text">
<string>noise-scale</string>
</property>
</item>
<item>
<property name="text">
<string>noise</string>
</property>
</item>
<item>
<property name="text">
<string>scale</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="waifu2xConverterCppOptionsHorizontalLayout">
<item>
<widget class="QCheckBox" name="disableGpuCheckBox">
<property name="text">
<string>Disable GPU</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ttaCheckBox">
<property name="text">
<string>TTA (Test-Time Augmentation)</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget> </widget>
<widget class="QWidget" name="waifu2xNcnnVulkanTab"> <widget class="QWidget" name="waifu2xNcnnVulkanTab">
<attribute name="title"> <attribute name="title">
@ -537,7 +762,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>618</width> <width>622</width>
<height>21</height> <height>21</height>
</rect> </rect>
</property> </property>