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
import urllib.request | |
import zipfile | |
source_dir = "./tmp/trainData" | |
train_dir = "./dataset/trainData" | |
valid_dir = "./dataset/validationData" | |
os.makedirs("%s/dogs" % train_dir) | |
os.makedirs("%s/cats" % train_dir) | |
os.makedirs("%s/dogs" % valid_dir) |
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
pip install --upgrade tensorflow | |
pip install keras |
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
pip install --upgrade tensorflow | |
pip install keras |
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
cd ~/.ssh | |
ssh-keygen -t rsa -C {Githubメールアドレス} -f {作成する鍵の名前} |
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
$ git clone https://github.com/rykov8/ssd_keras.git | |
$ cd ssd_keras |
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
name: rykov8_ssd_keras | |
channels: | |
- anaconda | |
- defaults | |
dependencies: | |
- appnope=0.1.0=py35_0 | |
- bleach=1.5.0=py35_0 | |
- colorama=0.3.9=py35_0 | |
- decorator=4.1.2=py35_0 | |
- entrypoints=0.2.3=py35_0 |
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
git clone https://github.com/allanzelener/YAD2K.git | |
cd yad2k | |
pip install numpy h5py pillow | |
pip install tensorflow-gpu | |
pip install keras |