{"id":14958830,"url":"https://github.com/losttech/gradient-samples","last_synced_at":"2025-05-02T12:32:15.519Z","repository":{"id":51294915,"uuid":"160910160","full_name":"losttech/Gradient-Samples","owner":"losttech","description":"Samples for TensorFlow binding for .NET by Lost Tech","archived":false,"fork":false,"pushed_at":"2022-10-25T18:13:53.000Z","size":688,"stargazers_count":61,"open_issues_count":0,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-12T17:03:49.869Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/losttech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-08T06:15:05.000Z","updated_at":"2023-10-13T08:25:56.000Z","dependencies_parsed_at":"2023-01-20T14:32:44.240Z","dependency_job_id":null,"html_url":"https://github.com/losttech/Gradient-Samples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losttech%2FGradient-Samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losttech%2FGradient-Samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losttech%2FGradient-Samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losttech%2FGradient-Samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losttech","download_url":"https://codeload.github.com/losttech/Gradient-Samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224315395,"owners_count":17290992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-09-24T13:18:22.282Z","updated_at":"2024-11-12T17:03:52.500Z","avatar_url":"https://github.com/losttech.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TensorFlow C# samples\nSamples for [LostTech.TensorFlow](https://losttech.software/gradient.html), TensorFlow binding for .NET\n\n**BasicMath** ([v1](v1)) - creates two constant tensors and performs simple algebraic operations on them\n\n**CharRNN** - the sample was removed from 2.x samples, as it only works with TensorFlow 1.15.\nThe old version is [still available in 1.15 branch](https://github.com/losttech/Gradient-Samples/tree/v1.15/CharRNN).\n\n**CSharpOrNot** - a mini-ResNet convolutional network, that guesses programming language,\ngiven a rectangular text block from a code file. Has a cross-platform UI demo.\nGet pretrained model here: https://github.com/losttech/Gradient-Samples/releases/tag/csharp-or-not%2Fv1\n\n**FashionMnistClassification** - standard TensorFlow example, that classifies small pictures of clothes.\n\n**ResNetBlock** - same as FashionMnistClassification above, but shows `Model` subclassing\nto implement ResNet block.\n\n**RL-MLAgents** - reinforcement learning agent, that learns to play Unity 3D based games\nusing Soft Actor-Critic algorithm, and Unity ML agents library. More details in\n[the blog post](http://ml.blogs.losttech.software/Reinforcement-Learning-With-Unity-ML-Agents/).\n\n**SimpleApproximation** - uses a simple 1 hidden layer neural network to approximate an arbitrary function.\n\nAll models **can be modified and trained**.\n\n**LICENSE** - MIT for all sample code, individual samples might have different licenses (clearing that up, see individual sample folders).\n\n## Larger samples (in separate repositories)\n\n[**GPT-2**](https://github.com/losttech/GPT) - latest published English\n[language model from OpenAI](https://blog.openai.com/better-language-models/)\nwith fine-tuning from https://github.com/nshepperd/gpt-2.\n\n[**SIREN**](https://github.com/losttech/Siren) - neural representation\nfor any kind of signal (image, video, audio).\n\n[**YOLOv4**](https://github.com/losttech/YOLOv4) - neural network for object detection.\n\n[**Billion Songs**](https://github.com/losttech/BillionSongs) -\ndeep learning-powered song lyrics generator in an ASP.NET Core web site.\nMore details in\n[Writing billion songs with C# and Deep Learning](https://habr.com/post/453232/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosttech%2Fgradient-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosttech%2Fgradient-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosttech%2Fgradient-samples/lists"}