Explorar el Código

'创建项目文件逻辑'

10174102126-patch-1
刘冬煜 hace 4 años
padre
commit
1a1baaec66
Se han modificado 12 ficheros con 138 adiciones y 1 borrados
  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 Ver fichero

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

BIN
style-transform-master/.vs/style-transform-master/v16/.suo Ver fichero


+ 25
- 0
style-transform-master/style-transform-master.sln Ver fichero

@ -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 Ver fichero

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

+ 0
- 0
style-transform-master/style-transform-master/html/index.html Ver fichero


+ 9
- 0
style-transform-master/style-transform-master/package.json Ver fichero

@ -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 Ver fichero


BIN
style-transform-master/style-transform-master/public/img/Labrador.png Ver fichero

Antes Después
Anchura: 512  |  Altura: 422  |  Tamaño: 649 KiB

+ 0
- 0
style-transform-master/style-transform-master/public/js/index.js Ver fichero


+ 20
- 0
style-transform-master/style-transform-master/server.js Ver fichero

@ -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 Ver fichero

@ -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 Ver fichero

@ -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>

Cargando…
Cancelar
Guardar