https://github.com/chychen/basketballgan
Basketball coaches often sketch plays on a whiteboard to help players get the ball through the net. A new AI model predicts how opponents would respond to these tactics.
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.3%) to scientific vocabulary
Keywords
Repository
Basketball coaches often sketch plays on a whiteboard to help players get the ball through the net. A new AI model predicts how opponents would respond to these tactics.
Basic Info
- Host: GitHub
- Owner: chychen
- Language: Python
- Default Branch: master
- Homepage: https://arxiv.org/abs/1909.07088
- Size: 6.95 MB
Statistics
- Stars: 51
- Watchers: 6
- Forks: 5
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
BasketballGAN
Generate the ghosting defensive strategies given offensive sketch.
Paper | CGVLab
Video | Supplemental
BasketballGAN: Generating Basketball Play Simulation through Sketching
Hsin-Ying Hsieh1, Chieh-Yu Chen2, Yu-Shuen Wang1 and Jung-Hong Chuang1
1National Chiao Tung University,
2NVIDIA Corporation
Accepted paper in ACMMM 2019.
Prerequisites
- OS: Linux
- NVIDIA Dokcer
- NVIDIA NGC Tensorflow Docker Image
- NVIDIA GPU (V100 16GB)
Getting Stated
bash
~$ git clone https://github.com/chychen/BasketballGAN.git
~$ cd BasketballGAN
BasketballGAN$ docker login nvcr.io
BasketballGAN$ docker pull nvcr.io/nvidia/tensorflow:19.06-py2
BasketballGAN$ docker run --runtime=nvidia -it --rm -v $PWD:$PWD --net host nvcr.io/nvidia/tensorflow:19.06-py2 bash
root@c63207c81408:~/BasketballGAN$ apt update
root@c63207c81408:~/BasketballGAN$ apt install ffmpeg
Download Dataset
- create 'data' folder
- save dataset under folder 'data'
bash
BasketballGAN$ mkdir data
Training
bash
BasketballGAN$ cd src
BasketballGAN/src$ python Train_Triple.py --folder_path='tmp' --data_path='data'
Logs/Samples/Checkpoints
bash
- "BasketballGAN/src/tmp/Log": training summary for tensorboard.
- "BasketballGAN/src/tmp/Samples": generated videos sampled on different epoches.
- "BasketballGAN/src/tmp/Checkpoints": tensorflow checkpoints on different iterations.
Monitoring
- Sampled Videos
- Using Simple HTTP Server to monitor sampled videos while training.
- Simple HTTP Server (http://127.0.0.1:8000)
bash
BasketballGAN/src$ python -m http.server 8000
- Training Logs
bash
BasketballGAN/src$ tensorboard --logdir='tmp/Log'
Public Relations
Citation
If you find this useful for your research, please use the following.
@article{hsieh2019basketballgan,
title={BasketballGAN: Generating Basketball Play Simulation Through Sketching},
author={Hsieh, Hsin-Ying and Chen, Chieh-Yu and Wang, Yu-Shuen and Chuang, Jung-Hong},
journal={arXiv preprint arXiv:1909.07088},
year={2019}
}
Owner
- Name: Jay Chen
- Login: chychen
- Kind: user
- Location: Taiwan
- Repositories: 3
- Profile: https://github.com/chychen
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2