「はじめての深層学習(ディープラーニング)プログラミング」本とjetson nano

#$ cat /etc/lsb-release
#DISTRIB_ID=Ubuntu
#DISTRIB_RELEASE=18.04
#DISTRIB_CODENAME=bionic
#DISTRIB_DESCRIPTION=”Ubuntu 18.04.3 LTS”

# pip3コマンドはpython3 -m pipと入力しても実行できます。

cd ~/
git clone https://github.com/uei/deel.git
pip3 install chainer=”1.24.0″
pip3 install cython
pip3 install pkgconfig

cd $DEELROOT
sudo python3 setup.py install

# — get data sets —

"""#### tiny.py ###
from deel import *
from deel.network import *
from deel.commands import *

deel = Deel()

CNN = AlexNet()


CNN.Input("deel.png")
CNN.classify()
ShowLabels()
"""

cd $DEELROOT
$ python3 tiny.py

Loading bvlc_alexnet.caffemodel
Converting from bvlc_alexnet.caffemodel
data 5
conv1 4
relu1 18
norm1 15
pool1 17
conv2 4
relu2 18
norm2 15
pool2 17
conv3 4
relu3 18
conv4 4
relu4 18
conv5 4
relu5 18
pool5 17
fc6 14
relu6 18
drop6 6
fc7 14
relu7 18
drop7 6
fc8 14
loss 21
#1 | loupe, | 20.9%
#2 | hook, | 10.4%
#3 | corkscrew, | 6.8%
#4 | combination | 4.7%
#5 | buckle | 3.9%
#6 | stethoscope | 3.4%
#7 | face | 3.2%
#8 | stopwatch, | 2.0%
#9 | cassette | 1.5%
#10 | knot | 1.4%
#11 | chain | 1.3%
#12 | digital | 1.3%
#13 | screw | 1.2%
#14 | lens | 1.1%
#15 | nail | 1.1%
#16 | padlock | 1.1%
#17 | analog | 1.0%
#18 | lipstick, | 1.0%
#19 | microphone, | 1.0%
#20 | magnetic | 0.8%

Leave a comment

Your email address will not be published. Required fields are marked *