Comments (6)
@chychen Thank you for your reply, I am trying to calculate the MAE and RMSE on generated data to compare with some models of mine that use the same metrics.
I would do that either on your code directly or by extracting the generated data and calculating these metrics separately so I was wondering if that's doable somehow.
from basketballgan.
Hi @ahariri13 ,
thank you for being interested in our work.
50Real.npy -> real play, containing both offensive and defensive trajectories of an entire play..
50Seq.npy -> real offensive strategies, containing only offensive strategies drawn by basketball coach.
why would you like to calculate the MAE and RMSE on generated data?
if you mean how to train a GAN, we use Earth Moving Distance (W-distance) to train our GAN model, I will refer you to WGAN and Spectral Norm papers.
from basketballgan.
@chychen Actually, one way to solve my problem is if I could test the trained model by feeding it with initial positions and obtain the generated trajectories' plots and xy coordinates (As was done in the video). Is it possible to do that ?
Thanks in advance
from basketballgan.
@ahariri13
You should feed offense strategies(a sequence) rather than initial points.
you might be interested in the branch “gui“. (somehow buggy but it is runnable.) it is the GUI interface in the demo videos.
from basketballgan.
@chychen thanks a lot for your help. i ran the GUI, and got the 'output.npy' and 'points.npy' arrays.
'points.npy' is clearly the trajectories that I drew on the left screen, but 'output.npy' is of shape (100,10,74,28) in my case. I know already that 10 refers to 10 players, but what do the other components indicate ?
Sorry for my numerous questions.
from basketballgan.
Dear @ahariri13 ,
I think 100 means it sample 100 results with diff latent code.
10 means 10 conditions (offense strategies)
74 means number of frames
28 means 10 players xy (20) + 1 ball xy (2) + who own the ball in one-hot format (6)
(sorry that the code written by students is messy and it won't be maintained anymore.
from basketballgan.
Related Issues (7)
- Dataset documentation HOT 6
- How do you run the GAN? HOT 4
- Data training HOT 4
- Results of data training HOT 6
- 训练过程如果中断了,能否恢复训练
- I used the following commands to train, but the training time was much longer than expected. How did you train? python Train_Triple.py --folder_path='tmp' --data_path='data' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basketballgan.