Coder Social home page Coder Social logo

tf-jam's Introduction

Tensor Jam: Shooting Hoops with Machine Learning

Coming soon!

tf-jam's People

Contributors

abeisgoat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tf-jam's Issues

Needs mods to work

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:

  • It uses boo, which is gone in Unity 2018 so I used Unity 2017 LTE
  • It needs to have the TensorFlowSharp plugin installed/imported (linked somewhere on this page look for TF Plugin)
  • It needs to have the TextMesh Pro package installed/imported from the Unity Asset Store

It then compiled and ran, but to get it to actually work, I needed to change the following things

  • There was only one scene that I could find in the project Assets/Scenes/SampleScene, I assumed that was it and loaded it.
  • But then the first two GameObjects (the Hoop prefabs) errored out with a "Missing Prefab" messages, so I had to delete them and add the Hoop prefab in Assets manually at x=+8.89 and -8.89. Obviously I had to rotate one of them too.
  • Had to add a TextMesh Pro prefab as a child to the Percentage GameObject and set itsText member variable to point to (with drag and drop) that child.
  • Dragged and dropped one of the 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.
  • In the 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.