Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
Press minus + shift + s
and return
to chop/fold long lines!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: http://web.archive.org/web/20121122043920/http://aymanh.com:80/python-debugging-techniques | |
# By default, the logging module prints critical, error and warning messages. To change this so that all levels are printed, use: | |
# $ ./your-program.py --logging=debug | |
# To send log messages to a file called debug.log, use: | |
# $ ./your-program.py --logging-level=debug --logging-file=debug.log | |
import logging | |
import optparse |
These instructions were inspired by Mistobaan's gist, ageitgey's gist, and mattiasarro's tutorial.
I always encountered the following warnings when running my scripts using the precompiled TensorFlow Python package:
I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
I realized I can make these warnings go away by compiling from source, in addition to impro