This file contains hidden or 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/ocjosen/keras | |
cd keras/ | |
git checkout 48875c680a1f22dc26ece8acb37178557af67a38 | |
cd ../ | |
git clone https://github.com/keras-team/keras-applications | |
cd keras-applications/ | |
git checkout eaf8aed7e42ec568ac5760382f313df026826b1d | |
cd ../ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
#!/usr/bin/env python | |
import numpy as np | |
from PIL import Image | |
import chainer | |
from chainer import cuda | |
from chainer import optimizers | |
import chainer.functions as F | |
from chainer.links import caffe |