Browse Source

'创建项目文件逻辑'

master
刘冬煜 3 years ago
parent
commit
1a1baaec66
12 changed files with 138 additions and 1 deletions
  1. +1
    -1
      README.md
  2. BIN
      style-transform-master/.vs/style-transform-master/v16/.suo
  3. +25
    -0
      style-transform-master/style-transform-master.sln
  4. +3
    -0
      style-transform-master/style-transform-master/README.md
  5. +0
    -0
      style-transform-master/style-transform-master/html/index.html
  6. +9
    -0
      style-transform-master/style-transform-master/package.json
  7. +0
    -0
      style-transform-master/style-transform-master/public/css/index.css
  8. BIN
      style-transform-master/style-transform-master/public/img/Labrador.png
  9. +0
    -0
      style-transform-master/style-transform-master/public/js/index.js
  10. +20
    -0
      style-transform-master/style-transform-master/server.js
  11. +74
    -0
      style-transform-master/style-transform-master/style-transform-master.njsproj
  12. +6
    -0
      style-transform-master/style-transform-master/style-transform-master.njsproj.user

+ 1
- 1
README.md View File

@ -1,3 +1,3 @@
# style-transform-master
基于预训练深度学习模型的风格迁移应用
基于预训练VGG-19的风格迁移的web应用。

BIN
style-transform-master/.vs/style-transform-master/v16/.suo View File


+ 25
- 0
style-transform-master/style-transform-master.sln View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}") = "style-transform-master", "style-transform-master\style-transform-master.njsproj", "{73DC0988-B353-4737-9D37-80D2D84C940B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{73DC0988-B353-4737-9D37-80D2D84C940B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73DC0988-B353-4737-9D37-80D2D84C940B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73DC0988-B353-4737-9D37-80D2D84C940B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73DC0988-B353-4737-9D37-80D2D84C940B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {45B4FC35-3E88-4DA1-A18D-C4F5876486EE}
EndGlobalSection
EndGlobal

+ 3
- 0
style-transform-master/style-transform-master/README.md View File

@ -0,0 +1,3 @@
# style-transform-master

+ 0
- 0
style-transform-master/style-transform-master/html/index.html View File


+ 9
- 0
style-transform-master/style-transform-master/package.json View File

@ -0,0 +1,9 @@
{
"name": "style-transform-master",
"version": "0.0.0",
"description": "style-transform-master",
"main": "server.js",
"author": {
"name": ""
}
}

+ 0
- 0
style-transform-master/style-transform-master/public/css/index.css View File


BIN
style-transform-master/style-transform-master/public/img/Labrador.png View File

Before After
Width: 512  |  Height: 422  |  Size: 649 KiB

+ 0
- 0
style-transform-master/style-transform-master/public/js/index.js View File


+ 20
- 0
style-transform-master/style-transform-master/server.js View File

@ -0,0 +1,20 @@
'use strict';
const express = require("express");
const cookieParser = require("cookie-parser");
const bodyParser = require('body-parser');
const cors = require('cors');
var server = express();
server.use(express.static('public'));
server.use(cors());
server.use(bodyParser.json());
server.use(bodyParser.urlencoded({ extended: false }));
server.use(cookieParser());
const port = process.env.PORT || 1337;
server.get('/', function (req, res) {
});
server.listen(port);

+ 74
- 0
style-transform-master/style-transform-master/style-transform-master.njsproj View File

@ -0,0 +1,74 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<Name>style-transform-master</Name>
<RootNamespace>style-transform-master</RootNamespace>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>73dc0988-b353-4737-9d37-80d2d84c940b</ProjectGuid>
<ProjectHome>.</ProjectHome>
<StartupFile>server.js</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
<NodejsPort>1337</NodejsPort>
<StartWebBrowser>true</StartWebBrowser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Content Include="server.js" />
<Content Include="package.json" />
<Content Include="README.md" />
</ItemGroup>
<Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsToolsV2.targets" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:48022/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>True</UseCustomServer>
<CustomServerUrl>http://localhost:1337</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>

+ 6
- 0
style-transform-master/style-transform-master/style-transform-master.njsproj.user View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
</Project>

Loading…
Cancel
Save