Coming soon!
abeisgoat / tf-jam Goto Github PK
View Code? Open in Web Editor NEWTensor Jam: Shooting Hoops with Machine Learning
License: Apache License 2.0
Tensor Jam: Shooting Hoops with Machine Learning
License: Apache License 2.0
I loved the Medium article, and it was close to something I wanted to try, so I grabbed it and gave it a shot.
After downloading though, a number of problems occurred and I made fixing them a rainy afternoon Sunday project:
TensorFlowSharp
plugin installed/imported (linked somewhere on this page look for TF Plugin)TextMesh Pro
package installed/imported from the Unity Asset StoreIt then compiled and ran, but to get it to actually work, I needed to change the following things
Assets/Scenes/SampleScene
, I assumed that was it and loaded it.Hoop
prefab in Assets
manually at x=+8.89 and -8.89. Obviously I had to rotate one of them too.TextMesh Pro
prefab as a child to the Percentage
GameObject and set itsText
member variable to point to (with drag and drop) that child.Backboards
in one of the Hoop GameObjects to the Transform Goal
variable in BallSpawnerController
Inspector under BallSpawner
- that then becomes what the player is aiming for.BallController
script Changed the names "TriggerTop" and "TriggerBottom" to "DetectorFirst" and "DetectorSecond" to make it recognize the balls dropping through the hoop and updating the Percentage
Text (and changing the successful ball colors to green).I think that was it. Then it worked quite nicely - as in the article. Will look at the Machine Learning stuff now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.