This is work in progress, and may have bugs. (lab-08 is in WIP.) However, we call for your comments and pull requests. Check out our style guide line:
- More TF (1.0) style: use more recent and decent TF APIs.
- More Pythonic: fully leverage the power of python
- Readability (over efficiency): Since it's for instruction purposes, we prefer readability over others.
- Understandability (over everything): Understanding TF key concepts is the main goal of this code.
- KISS: Keep It Simple Stupid! https://www.techopedia.com/definition/20262/keep-it-simple-stupid-principle-kiss-principle
- lab-XX-X-[name].py: TensorFlow lab code
- Go to https://gym.openai.com/
- Login with your github account
- Grab the api key from
- Modify
gym.ini
- In console
python gym_uploader.py gym-results/
pip install -r requirements.txt
TODO: Need to add more test cases
pytest
# http://stackoverflow.com/questions/14328406/
pip install autopep8 # if you haven't install
autopep8 . --recursive --in-place --pep8-passes 2000 --verbose --ignore E501
pip install pipreqs
pipreqs /path/to/project
http://stackoverflow.com/questions/31684375
We always welcome your comments and pull requests.