| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
9b02c1bb81 | add config photo for LoadFromSavedModel | 5 years ago |
|
|
f16567a525 | release 1.15.1 with NumSharp.Lite upgrade | 5 years ago |
|
|
ee58f8f90f | upgrade NumSharp.Lite. | 5 years ago |
| @@ -41,13 +41,13 @@ namespace Tensorflow | |||||
| } | } | ||||
| [MethodImpl(MethodImplOptions.NoOptimization)] | [MethodImpl(MethodImplOptions.NoOptimization)] | ||||
| public static Session LoadFromSavedModel(string path) | |||||
| public static Session LoadFromSavedModel(string path,string target="",ConfigProto config=null) | |||||
| { | { | ||||
| lock (Locks.ProcessWide) | lock (Locks.ProcessWide) | ||||
| { | { | ||||
| var graph = c_api.TF_NewGraph(); | var graph = c_api.TF_NewGraph(); | ||||
| var status = new Status(); | var status = new Status(); | ||||
| var opt = new SessionOptions(); | |||||
| var opt = new SessionOptions(target,config); | |||||
| var tags = new string[] {"serve"}; | var tags = new string[] {"serve"}; | ||||
| var buffer = new TF_Buffer(); | var buffer = new TF_Buffer(); | ||||
| @@ -5,7 +5,7 @@ | |||||
| <AssemblyName>TensorFlow.NET</AssemblyName> | <AssemblyName>TensorFlow.NET</AssemblyName> | ||||
| <RootNamespace>Tensorflow</RootNamespace> | <RootNamespace>Tensorflow</RootNamespace> | ||||
| <TargetTensorFlow>1.14.1</TargetTensorFlow> | <TargetTensorFlow>1.14.1</TargetTensorFlow> | ||||
| <Version>0.15.0</Version> | |||||
| <Version>0.15.1</Version> | |||||
| <Authors>Haiping Chen, Meinrad Recheis, Eli Belash</Authors> | <Authors>Haiping Chen, Meinrad Recheis, Eli Belash</Authors> | ||||
| <Company>SciSharp STACK</Company> | <Company>SciSharp STACK</Company> | ||||
| <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||||
| @@ -18,7 +18,7 @@ | |||||
| <Description>Google's TensorFlow full binding in .NET Standard. | <Description>Google's TensorFlow full binding in .NET Standard. | ||||
| Building, training and infering deep learning models. | Building, training and infering deep learning models. | ||||
| https://tensorflownet.readthedocs.io</Description> | https://tensorflownet.readthedocs.io</Description> | ||||
| <AssemblyVersion>0.15.0.0</AssemblyVersion> | |||||
| <AssemblyVersion>0.15.1.0</AssemblyVersion> | |||||
| <PackageReleaseNotes>Changes since v0.14.0: | <PackageReleaseNotes>Changes since v0.14.0: | ||||
| 1: Add TransformGraphWithStringInputs. | 1: Add TransformGraphWithStringInputs. | ||||
| 2: tf.trainer.load_graph, tf.trainer.freeze_graph | 2: tf.trainer.load_graph, tf.trainer.freeze_graph | ||||
| @@ -26,16 +26,18 @@ https://tensorflownet.readthedocs.io</Description> | |||||
| 4: Support YOLOv3 object detection | 4: Support YOLOv3 object detection | ||||
| 5: Add implicitation for Operation to RefVariable</PackageReleaseNotes> | 5: Add implicitation for Operation to RefVariable</PackageReleaseNotes> | ||||
| <LangVersion>7.3</LangVersion> | <LangVersion>7.3</LangVersion> | ||||
| <FileVersion>0.15.0.0</FileVersion> | |||||
| <FileVersion>0.15.1.0</FileVersion> | |||||
| <PackageLicenseFile>LICENSE</PackageLicenseFile> | <PackageLicenseFile>LICENSE</PackageLicenseFile> | ||||
| <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||||
| <SignAssembly>true</SignAssembly> | <SignAssembly>true</SignAssembly> | ||||
| <AssemblyOriginatorKeyFile>Open.snk</AssemblyOriginatorKeyFile> | <AssemblyOriginatorKeyFile>Open.snk</AssemblyOriginatorKeyFile> | ||||
| <UserSecretsId>48689ca8-0ff8-4926-be46-cb50bbda5686</UserSecretsId> | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||||
| <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
| <DefineConstants>TRACE;DEBUG;SERIALIZABLE_</DefineConstants> | <DefineConstants>TRACE;DEBUG;SERIALIZABLE_</DefineConstants> | ||||
| <PlatformTarget>AnyCPU</PlatformTarget> | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||||
| @@ -64,7 +66,7 @@ https://tensorflownet.readthedocs.io</Description> | |||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="Google.Protobuf" Version="3.11.4" /> | <PackageReference Include="Google.Protobuf" Version="3.11.4" /> | ||||
| <PackageReference Include="NumSharp.Lite" Version="0.1.4" /> | |||||
| <PackageReference Include="NumSharp.Lite" Version="0.1.7" /> | |||||
| <PackageReference Include="Protobuf.Text" Version="0.4.0" /> | <PackageReference Include="Protobuf.Text" Version="0.4.0" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||
| @@ -2,7 +2,7 @@ | |||||
| <PropertyGroup> | <PropertyGroup> | ||||
| <RootNamespace>Tensorflow.Hub</RootNamespace> | <RootNamespace>Tensorflow.Hub</RootNamespace> | ||||
| <TargetFramework>netstandard2.0</TargetFramework> | <TargetFramework>netstandard2.0</TargetFramework> | ||||
| <Version>0.1.1</Version> | |||||
| <Version>0.1.5</Version> | |||||
| <Authors>Kerry Jiang, Haiping Chen</Authors> | <Authors>Kerry Jiang, Haiping Chen</Authors> | ||||
| <Company>SciSharp STACK</Company> | <Company>SciSharp STACK</Company> | ||||
| <Copyright>Apache 2.0</Copyright> | <Copyright>Apache 2.0</Copyright> | ||||
| @@ -14,7 +14,7 @@ | |||||
| <PackageId>SciSharp.TensorFlowHub</PackageId> | <PackageId>SciSharp.TensorFlowHub</PackageId> | ||||
| <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||||
| <PackageReleaseNotes>Fix GetNextBatch() bug. | <PackageReleaseNotes>Fix GetNextBatch() bug. | ||||
| Upgrade NumSharp.Lite 0.1.4.</PackageReleaseNotes> | |||||
| Upgrade NumSharp.Lite 0.1.6.</PackageReleaseNotes> | |||||
| <PackageIconUrl>https://avatars3.githubusercontent.com/u/44989469?s=200&v=4</PackageIconUrl> | <PackageIconUrl>https://avatars3.githubusercontent.com/u/44989469?s=200&v=4</PackageIconUrl> | ||||
| <AssemblyName>TensorFlow.Hub</AssemblyName> | <AssemblyName>TensorFlow.Hub</AssemblyName> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| @@ -22,6 +22,6 @@ Upgrade NumSharp.Lite 0.1.4.</PackageReleaseNotes> | |||||
| <DefineConstants>DEBUG;TRACE</DefineConstants> | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="NumSharp.Lite" Version="0.1.4" /> | |||||
| <PackageReference Include="NumSharp.Lite" Version="0.1.7" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| </Project> | </Project> | ||||
| @@ -20,7 +20,7 @@ | |||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="BenchmarkDotNet" Version="0.12.0" /> | <PackageReference Include="BenchmarkDotNet" Version="0.12.0" /> | ||||
| <PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.15.1" /> | <PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.15.1" /> | ||||
| <PackageReference Include="TensorFlow.NET" Version="0.14.2" /> | |||||
| <PackageReference Include="TensorFlow.NET" Version="0.15.0" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| </Project> | </Project> | ||||
| @@ -17,6 +17,7 @@ | |||||
| <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||||
| <DefineConstants>DEBUG;TRACE</DefineConstants> | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
| <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
| <PlatformTarget>x64</PlatformTarget> | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||||
| @@ -11,7 +11,7 @@ namespace TensorFlowNET.UnitTest | |||||
| public void GetVersion() | public void GetVersion() | ||||
| { | { | ||||
| var ver = tf.VERSION; | var ver = tf.VERSION; | ||||
| Assert.IsTrue(ver.StartsWith("1.14.")); | |||||
| Assert.IsTrue(ver.StartsWith("1.15.")); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||