tfgo
gonum
Our great sponsors
tfgo | gonum | |
---|---|---|
6 | 24 | |
2,378 | 7,260 | |
- | 1.4% | |
1.5 | 8.3 | |
about 1 month ago | 3 days ago | |
Go | Go | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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
-
Show HN: Carton – Run any ML model from any programming language
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
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?
Paolo Galeone has improved bindings (tfgo) that can be used for training and deployment.
-
How to train a model for object detection in Golang?
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?
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
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
gonum
-
How to set up interface to accept multi-dimension array?
But if you want to see what can be done for numeric stuff, check out gonum. Personally, I still wouldn't use Go, and I rather suspect it's still pretty easy to reach for something like what you're trying to do and not find it because Go just can't write that type sensibly, but you can at least see what is available, written by people who disagree with me about Go not being a great language for this.
-
packages similar to Pandas
Numpy functionality is largely covered by https://www.gonum.org/ but for pandas I'm not sure if there is an equivalent as widely accepted. However, you might try https://github.com/rocketlaunchr/dataframe-go which I have not tried but it looks like it covers some of what you're looking for
-
What libraries are missing?
Math libraries. It's just gonum right now. Missing things that often require people to link C or Python libs. E.g. https://github.com/gonum/gonum/issues/354
- Gonum Numerical Packages
-
SIMD Accelerated vector math
Maybe this way you could avoid having Mul, Mul_Inplace, Mul_Into variants. Gonum mostly follows the same pattern.
- Modern hardware is fast, so let's choose the slowest language to balance it out
-
graph: A generic Go library for creating graph data structures and performing operations on them. It supports different kinds of graphs such as directed graphs, acyclic graphs, or trees.
How does this compare to gonum graph? https://github.com/gonum/gonum/tree/master/graph
-
From Python to NumPy
Go is quite a bit cleaner than Python and its concurrency/parallelism primitives can be well suited to scientific workloads.
You may want to have a look at Gonum (https://www.gonum.org), and the Go HEP package developed by CERN (https://go-hep.org).
I was also surprised to see DSP and pretty sophisticated packages, although I never used them: https://awesome-go.com/science-and-data-analysis
And of course Go has Jupyter integration, it's almost like running a script thanks to its fast compilation time.
-
Go for science?
You should check out this https://github.com/gonum/gonum
-
What makes concurrency in Go better than multiprocesing/multithreading in Python?
No, using CPU extensions and GPUs is a different thing than doing multitasking. There is Gonum but it is still slower than Numpy: https://github.com/gonum/gonum/issues/511
What are some alternatives?
Gorgonia - Gorgonia is a library that helps facilitate machine learning in Go.
dataframe-go - DataFrames for Go: For statistics, machine-learning, and data manipulation/exploration
GoLearn - Machine Learning for Go
gosl - Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.
neat
Stats - A well tested and comprehensive Golang statistics library package with no dependencies.
go-deep - Artificial Neural Network
gonum/plot - A repository for plotting and visualizing data
libsvm - libsvm go version
PiHex - PiHex Library, written in Go, generates a hexadecimal number sequence in the number Pi in the range from 0 to 10,000,000.
Varis - Golang Neural Network
goraph - Package goraph implements graph data structure and algorithms.