Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/losttech/gradient-samples
Samples for TensorFlow binding for .NET by Lost Tech
https://github.com/losttech/gradient-samples
cnn cross-platform csharp deep-learning dotnet fsharp gpt-2 lstm reinforcement-learning resnet rl tensorflow tensorflow-binding tensorflow-examples tensorflow-tutorials unity-ml unity-ml-agents
Last synced: 1 day ago
JSON representation
Samples for TensorFlow binding for .NET by Lost Tech
- Host: GitHub
- URL: https://github.com/losttech/gradient-samples
- Owner: losttech
- License: mit
- Created: 2018-12-08T06:15:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T18:13:53.000Z (about 2 years ago)
- Last Synced: 2024-11-12T17:03:49.869Z (1 day ago)
- Topics: cnn, cross-platform, csharp, deep-learning, dotnet, fsharp, gpt-2, lstm, reinforcement-learning, resnet, rl, tensorflow, tensorflow-binding, tensorflow-examples, tensorflow-tutorials, unity-ml, unity-ml-agents
- Language: C#
- Homepage:
- Size: 672 KB
- Stars: 61
- Watchers: 8
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TensorFlow C# samples
Samples for [LostTech.TensorFlow](https://losttech.software/gradient.html), TensorFlow binding for .NET**BasicMath** ([v1](v1)) - creates two constant tensors and performs simple algebraic operations on them
**CharRNN** - the sample was removed from 2.x samples, as it only works with TensorFlow 1.15.
The old version is [still available in 1.15 branch](https://github.com/losttech/Gradient-Samples/tree/v1.15/CharRNN).**CSharpOrNot** - a mini-ResNet convolutional network, that guesses programming language,
given a rectangular text block from a code file. Has a cross-platform UI demo.
Get pretrained model here: https://github.com/losttech/Gradient-Samples/releases/tag/csharp-or-not%2Fv1**FashionMnistClassification** - standard TensorFlow example, that classifies small pictures of clothes.
**ResNetBlock** - same as FashionMnistClassification above, but shows `Model` subclassing
to implement ResNet block.**RL-MLAgents** - reinforcement learning agent, that learns to play Unity 3D based games
using Soft Actor-Critic algorithm, and Unity ML agents library. More details in
[the blog post](http://ml.blogs.losttech.software/Reinforcement-Learning-With-Unity-ML-Agents/).**SimpleApproximation** - uses a simple 1 hidden layer neural network to approximate an arbitrary function.
All models **can be modified and trained**.
**LICENSE** - MIT for all sample code, individual samples might have different licenses (clearing that up, see individual sample folders).
## Larger samples (in separate repositories)
[**GPT-2**](https://github.com/losttech/GPT) - latest published English
[language model from OpenAI](https://blog.openai.com/better-language-models/)
with fine-tuning from https://github.com/nshepperd/gpt-2.[**SIREN**](https://github.com/losttech/Siren) - neural representation
for any kind of signal (image, video, audio).[**YOLOv4**](https://github.com/losttech/YOLOv4) - neural network for object detection.
[**Billion Songs**](https://github.com/losttech/BillionSongs) -
deep learning-powered song lyrics generator in an ASP.NET Core web site.
More details in
[Writing billion songs with C# and Deep Learning](https://habr.com/post/453232/).