GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TensorFlow.NET/tensorflowlib/README.md at master · iracding/TensorFlow.NET

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
72 lines (41 loc) · 2.3 KB
/

README.md

Copy path

File metadata and controls

72 lines (41 loc) · 2.3 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard [Deprecated] .

We changed to use Microsoft.ML.TensorFlow.Redist to maintain the TensorFlow library.

Download manually

Here are some pre-built TensorFlow binaries you can use for each platform:

  • Linux
    • CPU-only: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz
    • GPU-enabled: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz
  • Mac: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.14.0.tar.gz
  • Windows
    • CPU-only: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.14.0.zip
    • GPU-enabled: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-windows-x86_64-1.14.0.zip

Run in Linux

Install-Package TensorFlow.NET

Download Linux pre-built library and unzip libtensorflow.so and libtensorflow_framework.so into current running directory.

To run image recognition in Linux, please ensure some prerequisite libraries is install.

sudo apt install libc6-dev 
sudo apt install libgdiplus

More information about System.Drawing on Linux.

Run in Mac OS

GPU Tensorflow for windows

Before running verify you installed CUDA and cuDNN

Build from source for Windows

https://www.tensorflow.org/install/source_windows

pacman -S git patch unzip

  1. Build static library

bazel build --config=opt //tensorflow:libtensorflow.so

  1. Build pip package

bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

  1. Generate pip installation file

bazel-bin\tensorflow\tools\pip_package\build_pip_package C:/tmp/tensorflow_pkg

  1. Install from local wheel file.

pip install C:/tmp/tensorflow_pkg/tensorflow-1.14.0-cp36-cp36m-win_amd64.whl

Export more APIs

Add more api to c_api.h

TF_CAPI_EXPORT extern void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input);
TF_CAPI_EXPORT extern void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, TF_Status* status);
TF_CAPI_EXPORT extern void RemoveAllControlInputs(TF_Graph* graph, TF_Operation* op);
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.