-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f9ce254
Showing
198 changed files
with
100,624 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*generator.bin |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.33423.256 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "draggan_qt_vs2019", "draggan_qt_vs2019\draggan_qt_vs2019.vcxproj", "{D712A84C-1E62-4715-807A-21E823D741D0}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Release|x64 = Release|x64 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{D712A84C-1E62-4715-807A-21E823D741D0}.Release|x64.ActiveCfg = Release|x64 | ||
{D712A84C-1E62-4715-807A-21E823D741D0}.Release|x64.Build.0 = Release|x64 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {144FC2D4-0E4F-4DC4-94F6-AF77A1B3BFAA} | ||
EndGlobalSection | ||
EndGlobal |
847 changes: 847 additions & 0 deletions
847
x86/draggan_qt_vs2019/draggan_qt_vs2019/assets/generator.param
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
55 changes: 55 additions & 0 deletions
55
x86/draggan_qt_vs2019/draggan_qt_vs2019/assets/mapping.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
7767517 | ||
53 56 | ||
Input /mapping/Cast_output_0 0 1 /mapping/Cast_output_0 | ||
Split splitncnn_input0 1 3 /mapping/Cast_output_0 /mapping/Cast_output_0_splitncnn_0 /mapping/Cast_output_0_splitncnn_1 /mapping/Cast_output_0_splitncnn_2 | ||
MemoryData /mapping/fc0/Reshape_output_0 0 1 /mapping/fc0/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc0/Transpose_output_0 0 1 /mapping/fc0/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc1/Reshape_output_0 0 1 /mapping/fc1/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc1/Transpose_output_0 0 1 /mapping/fc1/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc2/Reshape_output_0 0 1 /mapping/fc2/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc2/Transpose_output_0 0 1 /mapping/fc2/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc3/Reshape_output_0 0 1 /mapping/fc3/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc3/Transpose_output_0 0 1 /mapping/fc3/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc4/Reshape_output_0 0 1 /mapping/fc4/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc4/Transpose_output_0 0 1 /mapping/fc4/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc5/Reshape_output_0 0 1 /mapping/fc5/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc5/Transpose_output_0 0 1 /mapping/fc5/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc6/Reshape_output_0 0 1 /mapping/fc6/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc6/Transpose_output_0 0 1 /mapping/fc6/Transpose_output_0 0=512 1=512 | ||
MemoryData /mapping/fc7/Reshape_output_0 0 1 /mapping/fc7/Reshape_output_0 0=512 | ||
MemoryData /mapping/fc7/Transpose_output_0 0 1 /mapping/fc7/Transpose_output_0 0=512 1=512 | ||
MemoryData G.mapping.w_avg 0 1 G.mapping.w_avg 0=512 | ||
BinaryOp /mapping/Mul 2 1 /mapping/Cast_output_0_splitncnn_2 /mapping/Cast_output_0_splitncnn_1 /mapping/Mul_output_0 0=2 | ||
Reduction /mapping/ReduceMean 1 1 /mapping/Mul_output_0 /mapping/ReduceMean_output_0 0=3 1=0 -23303=1,0 4=1 5=1 | ||
BinaryOp /mapping/Add 1 1 /mapping/ReduceMean_output_0 /mapping/Add_output_0 0=0 1=1 2=1.000000e-08 | ||
UnaryOp /mapping/Sqrt 1 1 /mapping/Add_output_0 /mapping/Sqrt_output_0 0=5 | ||
BinaryOp /mapping/Div 1 1 /mapping/Sqrt_output_0 /mapping/Div_output_0 0=8 1=1 2=1.000000e+00 | ||
BinaryOp /mapping/Mul_1 2 1 /mapping/Cast_output_0_splitncnn_0 /mapping/Div_output_0 /mapping/Mul_1_output_0 0=2 | ||
Gemm /mapping/fc0/Add_output_0 3 1 /mapping/Mul_1_output_0 /mapping/fc0/Transpose_output_0 /mapping/fc0/Reshape_output_0 /mapping/fc0/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc0/LeakyRelu 1 1 /mapping/fc0/Add_output_0 /mapping/fc0/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc0/Mul_2 1 1 /mapping/fc0/LeakyRelu_output_0 /mapping/fc0/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc1/Add_output_0 3 1 /mapping/fc0/Mul_2_output_0 /mapping/fc1/Transpose_output_0 /mapping/fc1/Reshape_output_0 /mapping/fc1/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc1/LeakyRelu 1 1 /mapping/fc1/Add_output_0 /mapping/fc1/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc1/Mul_2 1 1 /mapping/fc1/LeakyRelu_output_0 /mapping/fc1/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc2/Add_output_0 3 1 /mapping/fc1/Mul_2_output_0 /mapping/fc2/Transpose_output_0 /mapping/fc2/Reshape_output_0 /mapping/fc2/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc2/LeakyRelu 1 1 /mapping/fc2/Add_output_0 /mapping/fc2/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc2/Mul_2 1 1 /mapping/fc2/LeakyRelu_output_0 /mapping/fc2/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc3/Add_output_0 3 1 /mapping/fc2/Mul_2_output_0 /mapping/fc3/Transpose_output_0 /mapping/fc3/Reshape_output_0 /mapping/fc3/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc3/LeakyRelu 1 1 /mapping/fc3/Add_output_0 /mapping/fc3/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc3/Mul_2 1 1 /mapping/fc3/LeakyRelu_output_0 /mapping/fc3/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc4/Add_output_0 3 1 /mapping/fc3/Mul_2_output_0 /mapping/fc4/Transpose_output_0 /mapping/fc4/Reshape_output_0 /mapping/fc4/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc4/LeakyRelu 1 1 /mapping/fc4/Add_output_0 /mapping/fc4/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc4/Mul_2 1 1 /mapping/fc4/LeakyRelu_output_0 /mapping/fc4/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc5/Add_output_0 3 1 /mapping/fc4/Mul_2_output_0 /mapping/fc5/Transpose_output_0 /mapping/fc5/Reshape_output_0 /mapping/fc5/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc5/LeakyRelu 1 1 /mapping/fc5/Add_output_0 /mapping/fc5/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc5/Mul_2 1 1 /mapping/fc5/LeakyRelu_output_0 /mapping/fc5/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc6/Add_output_0 3 1 /mapping/fc5/Mul_2_output_0 /mapping/fc6/Transpose_output_0 /mapping/fc6/Reshape_output_0 /mapping/fc6/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc6/LeakyRelu 1 1 /mapping/fc6/Add_output_0 /mapping/fc6/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc6/Mul_2 1 1 /mapping/fc6/LeakyRelu_output_0 /mapping/fc6/Mul_2_output_0 0=2 1=1 2=1.414214e+00 | ||
Gemm /mapping/fc7/Add_output_0 3 1 /mapping/fc6/Mul_2_output_0 /mapping/fc7/Transpose_output_0 /mapping/fc7/Reshape_output_0 /mapping/fc7/Add_output_0 0=1.000000e+00 1=1.000000e+00 2=0 3=0 | ||
ReLU /mapping/fc7/LeakyRelu 1 1 /mapping/fc7/Add_output_0 /mapping/fc7/LeakyRelu_output_0 0=2.000000e-01 | ||
BinaryOp /mapping/fc7/Mul_2 1 1 /mapping/fc7/LeakyRelu_output_0 /mapping/Tile_output_0 0=2 1=1 2=1.414214e+00 | ||
Split splitncnn_0 1 2 /mapping/Tile_output_0 /mapping/Tile_output_0_splitncnn_0 /mapping/Tile_output_0_splitncnn_1 | ||
BinaryOp /mapping/Sub 2 1 /mapping/Tile_output_0_splitncnn_1 G.mapping.w_avg /mapping/Sub_output_0 0=1 | ||
BinaryOp /mapping/Mul_3 1 1 /mapping/Sub_output_0 /mapping/Mul_3_output_0 0=2 1=1 2=3.000000e-01 | ||
BinaryOp /mapping/Sub_2 2 1 /mapping/Tile_output_0_splitncnn_0 /mapping/Mul_3_output_0 /mapping/Sub_2_output_0 0=1 |
82 changes: 82 additions & 0 deletions
82
x86/draggan_qt_vs2019/draggan_qt_vs2019/draggan_qt_vs2019.vcxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
*************************************************************************************************** | ||
Copyright (C) 2023 The Qt Company Ltd. | ||
SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only | ||
*************************************************************************************************** | ||
--> | ||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{D712A84C-1E62-4715-807A-21E823D741D0}</ProjectGuid> | ||
<Keyword>QtVS_v304</Keyword> | ||
<WindowsTargetPlatformVersion Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">10.0.19041.0</WindowsTargetPlatformVersion> | ||
<QtMsBuild Condition="'$(QtMsBuild)'=='' OR !Exists('$(QtMsBuild)\qt.targets')">$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<PlatformToolset>v142</PlatformToolset> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')"> | ||
<Import Project="$(QtMsBuild)\qt_defaults.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="QtSettings"> | ||
<QtInstall>5.12.4_msvc2017_64</QtInstall> | ||
<QtModules>core;gui;widgets</QtModules> | ||
<QtBuildConfig>release</QtBuildConfig> | ||
</PropertyGroup> | ||
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')"> | ||
<Message Importance="High" Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." /> | ||
</Target> | ||
<ImportGroup Label="ExtensionSettings" /> | ||
<ImportGroup Label="Shared" /> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
<Import Project="$(QtMsBuild)\Qt.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | ||
<IncludePath>D:\develop\Develop\github\DragGAN\draggan_qt_vs2019\draggan_qt_vs2019\ncnn\build\install\include\ncnn;D:\develop\Develop\github\DragGAN\draggan_qt_vs2019\draggan_qt_vs2019\opencv-mobile-4.5.1-windows-vs2019\x64\include;$(IncludePath)</IncludePath> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<Link> | ||
<AdditionalLibraryDirectories>D:\develop\Develop\github\DragGAN\draggan_qt_vs2019\draggan_qt_vs2019\opencv-mobile-4.5.1-windows-vs2019\x64\x64\vc16\staticlib;D:\develop\Develop\github\DragGAN\draggan_qt_vs2019\draggan_qt_vs2019\ncnn\build\install\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
<AdditionalDependencies>ncnn.lib;opencv_core451.lib;opencv_features2d451.lib;opencv_highgui451.lib;opencv_imgproc451.lib;opencv_photo451.lib;opencv_video451.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
</Link> | ||
<ClCompile> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration"> | ||
<ClCompile> | ||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType> | ||
<MultiProcessorCompilation>true</MultiProcessorCompilation> | ||
<DebugInformationFormat>None</DebugInformationFormat> | ||
<Optimization>MaxSpeed</Optimization> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<QtRcc Include="mainwindow.qrc" /> | ||
<QtUic Include="mainwindow.ui" /> | ||
<QtMoc Include="mainwindow.h" /> | ||
<ClCompile Include="mainwindow.cpp" /> | ||
<ClCompile Include="main.cpp" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')"> | ||
<Import Project="$(QtMsBuild)\qt.targets" /> | ||
</ImportGroup> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
44 changes: 44 additions & 0 deletions
44
x86/draggan_qt_vs2019/draggan_qt_vs2019/draggan_qt_vs2019.vcxproj.filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Source Files"> | ||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
<Extensions>qml;cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
</Filter> | ||
<Filter Include="Resource Files"> | ||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
<Extensions>qrc;rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
</Filter> | ||
<Filter Include="Form Files"> | ||
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier> | ||
<Extensions>ui</Extensions> | ||
</Filter> | ||
<Filter Include="Translation Files"> | ||
<UniqueIdentifier>{639EADAA-A684-42e4-A9AD-28FC9BCB8F7C}</UniqueIdentifier> | ||
<Extensions>ts</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<QtRcc Include="mainwindow.qrc"> | ||
<Filter>Resource Files</Filter> | ||
</QtRcc> | ||
<QtUic Include="mainwindow.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtMoc Include="mainwindow.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<ClCompile Include="mainwindow.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="main.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
</Project> |
7 changes: 7 additions & 0 deletions
7
x86/draggan_qt_vs2019/draggan_qt_vs2019/draggan_qt_vs2019.vcxproj.user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup /> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<QtLastBackgroundBuild>2023-09-19T08:50:39.4568406Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "mainwindow.h" | ||
#include <QtWidgets/QApplication> | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
QApplication a(argc, argv); | ||
MainWindow w; | ||
w.show(); | ||
return a.exec(); | ||
} |
Oops, something went wrong.