- linear_reg_chainer.py (Chainer version)
- linear_reg_pytorch.py (PyTorch version)
- Python 3.5.2 (or 3.5.3)
- Chainer 2.0.0
- PyTorch 0.1.12
| # Coding Rules | |
| --- | |
| ## 0. Interaction Protocol | |
| 0.1 **Language:** | |
| All responses to user: Chinese. | |
| 0.2 **Rule Adherence:** |
| # Make sure you grab the latest version | |
| curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip | |
| # Unzip | |
| unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 | |
| # Move protoc to /usr/local/bin/ | |
| sudo mv protoc3/bin/* /usr/local/bin/ | |
| # Move protoc3/include to /usr/local/include/ |
| #!/bin/bash | |
| ################################################################################ | |
| ### OpenCV2 Installation Script ### | |
| ################################################################################ | |
| # Source code at https://github.com/arthurbeggs/scripts # | |
| ################################################################################ | |
| # # | |
| # Feel free to copy and modify this file. Giving me credit for it is your # | |
| # choice, but please keep references to other people's work, which I don't # |
| # To default value | |
| $ defaults delete com.apple.dock springboard-columns | |
| # Arranging Launchpad (http://macnews.tistory.com/633) | |
| $ defaults write com.apple.dock springboard-columns -int 7 | |
| $ defaults write com.apple.dock springboard-rows -int 9 | |
| $ killall Dock | |
| # Reset Launchpad | |
| $ rm ~/Library/Application\ Support/Dock/*.db |