tfgo VS root

Compare tfgo vs root and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tfgo root
6 31
2,378 2,418
- 2.1%
1.5 10.0
about 1 month ago 3 days ago
Go C++
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tfgo

Posts with mentions or reviews of tfgo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-27.
  • Show HN: Carton – Run any ML model from any programming language
    4 projects | news.ycombinator.com | 27 Sep 2023
    eh, awesome! Seems this one, right? https://github.com/galeone/tfgo. Quite many stars.
  • Introducing GoFaceRec: A Go-based Face Recognition Tool Using Deep Learning
    2 projects | /r/golang | 1 Jul 2023
    I'm excited to share a project I've been working on: [GoFaceRec](https://github.com/modanesh/GoFaceRec). This is a face recognition tool built in Go, leveraging the power of MTCNN for face detection and QMagFace for face recognition. The project was born out of a desire to bring the power of deep learning models to the Go community. After much effort, I concluded that the best approach was to convert models to TensorFlow and then work with tfgo, a Go binding to TensorFlow's C API. In GoFaceRec, the input image is first processed, and then its embeddings are compared against the ones already computed from our dataset. If the distance between embeddings falls below a specific threshold, then the face is considered as unknown. Otherwise, the proper label will be printed. The project is tested using Go 1.17 on Ubuntu 20.04. For gocv, the version of OpenCV installed is 4.7. And for tfgo, I installed [this version](https://github.com/galeone/tfgo) instead of the official one. You can install this package by running the following command in your project: > go get github.com/modanesh/[email protected] You can find more detailed instructions on how to use the tool in the [GitHub repository](https://github.com/modanesh/GoFaceRec). I welcome any feedback, suggestions, or contributions to the project. I'm looking forward to seeing how the community uses GoFaceRec and hope it can be a valuable tool for those working on face recognition tasks. Happy coding! 🚀
  • Why can't Go be popular for machine learning?
    6 projects | /r/golang | 22 Jul 2022
    Paolo Galeone has improved bindings (tfgo) that can be used for training and deployment.
  • How to train a model for object detection in Golang?
    2 projects | /r/golang | 16 May 2022
    https://github.com/galeone/tfgo here is a very good tutorial. I would suggest starting there.
  • What libraries from other languages do you wish were ported over into go?
    13 projects | /r/golang | 27 Jul 2021
    Tensorflow is actually written in C++, and the python package is just bindings to tensorflow. There are Tensorflow Go bindings: https://github.com/galeone/tfgo.
  • Using Time series to make predictions
    1 project | /r/golang | 16 Jan 2021
    have you tried your hands at [galeone/tfgo](https://github.com/galeone/tfgo); I've just hello-world it... so can't vouch on efficiency

root

Posts with mentions or reviews of root. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-17.
  • If you can't reproduce the model then it's not open-source
    2 projects | news.ycombinator.com | 17 Jan 2024
    I think the process of data acquisition isn't so clear-cut. Take CERN as an example: they release loads of data from various experiments under the CC0 license [1]. This isn't just a few small datasets for classroom use; we're talking big-league data, like the entire first run data from LHCb [2].

    On their portal, they don't just dump the data and leave you to it. They've got guides on analysis and the necessary tools (mostly open source stuff like ROOT [3] and even VMs). This means anyone can dive in. You could potentially discover something new or build on existing experiment analyses. This setup, with open data and tools, ticks the boxes for reproducibility. But does it mean people need to recreate the data themselves?

    Ideally, yeah, but realistically, while you could theoretically rebuild the LHC (since most technical details are public), it would take an army of skilled people, billions of dollars, and years to do it.

    This contrasts with open source models, where you can retrain models using data to get the weights. But getting hold of the data and the cost to reproduce the weights is usually prohibitive. I get that CERN's approach might seem to counter this, but remember, they're not releasing raw data (which is mostly noise), but a more refined version. Try downloading several petabytes of raw data if not; good luck with that. But for training something like a LLM, you might need the whole dataset, which in many cases have its own problems with copyrights…etc.

    [1] https://opendata.cern.ch/docs/terms-of-use

    [2] https://opendata.cern.ch/docs/lhcb-releases-entire-run1-data...

    [3] https://root.cern/

  • What software is used to generate plots/graphs like this seen in many particle physics papers?
    1 project | /r/PhysicsStudents | 10 Dec 2023
  • Interactive GCC (igcc) is a read-eval-print loop (REPL) for C/C++
    11 projects | news.ycombinator.com | 27 Sep 2023
    The odd part is that this is not just for fun. For many physicists when I was at CERN, a C++ REPL was a commonly used tool to interactively debug analyses to such a degree that many never compiled their code. Back then, I believe, it was some custom implementation included in ROOT (https://root.cern/). I even went out of my way to write C++ code compatible to it just so it could run with this implementation, otherwise some colleagues weren't interested in collaborating at all.
  • Stable Diffusion in pure C/C++
    8 projects | news.ycombinator.com | 19 Aug 2023
    That Python ML code is calling C++ code running in the GPU, one more reason to use C++ across the whole stack.

    CERN already used prototyping in C++, with ROOT and CINT, 20 years ago.

    https://root.cern/

    Nowadays it is even usable from Netbooks via Xeus.

    It is more a matter of lack of exposure to C++ interpreters than anything else.

  • Root: Analyzing Petabytes of Data, Scientifically
    1 project | news.ycombinator.com | 12 Aug 2023
  • Aliens might be waiting for humans to solve a puzzle
    1 project | /r/aliens | 22 Jun 2023
    Quantum computing is a pretty interesting science too. https://home.cern/news/press-release/knowledge-sharing/cern-quantum-technology-initiative-unveils-strategic-roadmap they have to deal with lots of data streaming too https://root.cern/
  • cppyy Generated Wrappers and Type Annotations
    1 project | /r/learnpython | 11 Apr 2023
    I'm a user of CERN's ROOT (https://root.cern/) and while I'd usually write in C++, I've been trying to write as much Python as I can recently to get a bit better in the language.
  • Root: Analyzing Petabytes of Scientific Data
    1 project | news.ycombinator.com | 1 Feb 2023
  • Span: how to cast pointer of pointer to other types?
    1 project | /r/cpp_questions | 25 Jan 2023
    I'm dealing with a C++ software called ROOT made by CERN, which is, if I'm not wrong, the only C++ API that we could use for data analysis such as plotting histograms, fitting multi-parameter functions and storing data in the size of TB to the disk and many more. That's the only reason why physicists still stick to this software. you can check here .
  • How exactly would you go about writing a program to simplify algebraic expressions?
    3 projects | /r/cpp_questions | 20 Jan 2023
    Hey, I found something which could be useful: https://root.cern

What are some alternatives?

When comparing tfgo and root you can also consider the following projects:

Gorgonia - Gorgonia is a library that helps facilitate machine learning in Go.

PyMesh - Geometry Processing Library for Python

GoLearn - Machine Learning for Go

xeus - Implementation of the Jupyter kernel protocol in C++

neat

windows-telemetry-blocklist - Blocks outgoing Windows telemetry, compatible with Pi-Hole.

go-deep - Artificial Neural Network

decimal - Arbitrary-precision fixed-point decimal numbers in Go

libsvm - libsvm go version

apd - Arbitrary-precision decimals for Go

Varis - Golang Neural Network

tidytable - Tidy interface to 'data.table'