Code Monkey home page Code Monkey logo

Comments (4)

mxk avatar mxk commented on July 20, 2024 1

Official libs have been updated: https://www.tensorflow.org/install/lang_c

from tfgo.

galeone avatar galeone commented on July 20, 2024

tfgo already works with TensorFlow 2.x if you compile the C library by yourself, it's just a matter of linking it.

Officially I can't support it, because I have to wait for the official C library compiled. But as soon as it's out I will support it.

In the meantime, you can compile the C library by yourself (or, if like me you use Archlinux you can just install the tensorflow package and link with the ready-to-use .so) and use tfgo with the tf 2.x runtime.

from tfgo.

galeone avatar galeone commented on July 20, 2024

@mxk @Arnold1 sorry for the extreme delay (but lockdown + moving to a new apartment have absorbed all my time).

I'll have a look at TensorFlow 2.x support (I'll start with TensorFlow 2.3.1).
In order to be able to completely support it, I also have to rewrite the test part of tfgo (I use a Python script to generate a tensorflow 1.x support - now, instead, I have to export a tensorflow 2.x function (or model, or stati graph) using tf.function.

It won't be immediate, but perhaps if I find the time, in some weeks a new release should be available.

P.S: I covered the tf.function export + the load in tfgo in my book (https://amzn.to/2TMImSw) if you're interested, you can have a look at the last paragraph.

from tfgo.

galeone avatar galeone commented on July 20, 2024

I merged the support for TensorFlow 2.x (in particular, 2.3.1).

I had to remove the estimator support because TensorFlow is almost dropping them and are impossible to maintain alone.

Moreover, I had to create a TensorFlow fork with some fix in the tests and with all the required .proto files compiled and placed in the correct position, in this way it's easy to go build and also go get the package without any compilation error.

I updated the README accordingly

from tfgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.