最適化問題に対する超高速&安定計算

大規模最適化問題、グラフ探索、機械学習やデジタルツインなどの研究のお話が中心

Fedora 24 上での Caffe

2016年07月04日 00時39分51秒 | Weblog
Fedora 24 上でも以下のように Caffe が動作することを確認しました。。。

[fujisawa@opt-fedora24 caffe]$ python2.7 ./python/cifar10_classifier.py ../caffe.gpu/caffe-master.openblas/kitty.jpg

I0703 23:40:32.177513 31943 layer_factory.hpp:77] Creating layer data
I0703 23:40:32.177520 31943 net.cpp:91] Creating Layer data
I0703 23:40:32.177533 31943 net.cpp:399] data -> data
I0703 23:40:32.177548 31943 net.cpp:141] Setting up data
I0703 23:40:32.177563 31943 net.cpp:148] Top shape: 1 3 32 32 (3072)
I0703 23:40:32.177566 31943 net.cpp:156] Memory required for data: 12288
I0703 23:40:32.177577 31943 layer_factory.hpp:77] Creating layer conv1
I0703 23:40:32.177583 31943 net.cpp:91] Creating Layer conv1
I0703 23:40:32.177587 31943 net.cpp:425] conv1 <- data
I0703 23:40:32.177592 31943 net.cpp:399] conv1 -> conv1
I0703 23:40:32.177613 31943 net.cpp:141] Setting up conv1
I0703 23:40:32.177618 31943 net.cpp:148] Top shape: 1 32 32 32 (32768)
I0703 23:40:32.177631 31943 net.cpp:156] Memory required for data: 143360
I0703 23:40:32.177649 31943 layer_factory.hpp:77] Creating layer pool1
I0703 23:40:32.177654 31943 net.cpp:91] Creating Layer pool1
I0703 23:40:32.177655 31943 net.cpp:425] pool1 <- conv1
I0703 23:40:32.177659 31943 net.cpp:399] pool1 -> pool1
I0703 23:40:32.177665 31943 net.cpp:141] Setting up pool1
I0703 23:40:32.177670 31943 net.cpp:148] Top shape: 1 32 16 16 (8192)
I0703 23:40:32.177671 31943 net.cpp:156] Memory required for data: 176128
I0703 23:40:32.177673 31943 layer_factory.hpp:77] Creating layer relu1
I0703 23:40:32.177687 31943 net.cpp:91] Creating Layer relu1
I0703 23:40:32.177690 31943 net.cpp:425] relu1 <- pool1
I0703 23:40:32.177695 31943 net.cpp:386] relu1 -> pool1 (in-place)
I0703 23:40:32.177698 31943 net.cpp:141] Setting up relu1
I0703 23:40:32.177701 31943 net.cpp:148] Top shape: 1 32 16 16 (8192)
I0703 23:40:32.177703 31943 net.cpp:156] Memory required for data: 208896
I0703 23:40:32.177706 31943 layer_factory.hpp:77] Creating layer conv2
I0703 23:40:32.177726 31943 net.cpp:91] Creating Layer conv2
I0703 23:40:32.177727 31943 net.cpp:425] conv2 <- pool1
I0703 23:40:32.177732 31943 net.cpp:399] conv2 -> conv2
I0703 23:40:32.177781 31943 net.cpp:141] Setting up conv2
I0703 23:40:32.177785 31943 net.cpp:148] Top shape: 1 32 16 16 (8192)
I0703 23:40:32.177788 31943 net.cpp:156] Memory required for data: 241664
I0703 23:40:32.177804 31943 layer_factory.hpp:77] Creating layer relu2
I0703 23:40:32.177808 31943 net.cpp:91] Creating Layer relu2
I0703 23:40:32.177809 31943 net.cpp:425] relu2 <- conv2
I0703 23:40:32.177812 31943 net.cpp:386] relu2 -> conv2 (in-place)
I0703 23:40:32.177815 31943 net.cpp:141] Setting up relu2
I0703 23:40:32.177819 31943 net.cpp:148] Top shape: 1 32 16 16 (8192)
I0703 23:40:32.177820 31943 net.cpp:156] Memory required for data: 274432
I0703 23:40:32.177824 31943 layer_factory.hpp:77] Creating layer pool2
I0703 23:40:32.177827 31943 net.cpp:91] Creating Layer pool2
I0703 23:40:32.177830 31943 net.cpp:425] pool2 <- conv2
I0703 23:40:32.177835 31943 net.cpp:399] pool2 -> pool2
I0703 23:40:32.177840 31943 net.cpp:141] Setting up pool2
I0703 23:40:32.177845 31943 net.cpp:148] Top shape: 1 32 8 8 (2048)
I0703 23:40:32.177847 31943 net.cpp:156] Memory required for data: 282624
I0703 23:40:32.177850 31943 layer_factory.hpp:77] Creating layer conv3
I0703 23:40:32.177856 31943 net.cpp:91] Creating Layer conv3
I0703 23:40:32.177860 31943 net.cpp:425] conv3 <- pool2
I0703 23:40:32.177875 31943 net.cpp:399] conv3 -> conv3
I0703 23:40:32.177958 31943 net.cpp:141] Setting up conv3
I0703 23:40:32.177963 31943 net.cpp:148] Top shape: 1 64 8 8 (4096)
I0703 23:40:32.177964 31943 net.cpp:156] Memory required for data: 299008
I0703 23:40:32.177978 31943 layer_factory.hpp:77] Creating layer relu3
I0703 23:40:32.177983 31943 net.cpp:91] Creating Layer relu3
I0703 23:40:32.178000 31943 net.cpp:425] relu3 <- conv3
I0703 23:40:32.178004 31943 net.cpp:386] relu3 -> conv3 (in-place)
I0703 23:40:32.178019 31943 net.cpp:141] Setting up relu3
I0703 23:40:32.178022 31943 net.cpp:148] Top shape: 1 64 8 8 (4096)
I0703 23:40:32.178025 31943 net.cpp:156] Memory required for data: 315392
I0703 23:40:32.178038 31943 layer_factory.hpp:77] Creating layer pool3
I0703 23:40:32.178043 31943 net.cpp:91] Creating Layer pool3
I0703 23:40:32.178046 31943 net.cpp:425] pool3 <- conv3
I0703 23:40:32.178050 31943 net.cpp:399] pool3 -> pool3
I0703 23:40:32.178056 31943 net.cpp:141] Setting up pool3
I0703 23:40:32.178058 31943 net.cpp:148] Top shape: 1 64 4 4 (1024)
I0703 23:40:32.178061 31943 net.cpp:156] Memory required for data: 319488
I0703 23:40:32.178062 31943 layer_factory.hpp:77] Creating layer ip1
I0703 23:40:32.178066 31943 net.cpp:91] Creating Layer ip1
I0703 23:40:32.178069 31943 net.cpp:425] ip1 <- pool3
I0703 23:40:32.178073 31943 net.cpp:399] ip1 -> ip1
I0703 23:40:32.178149 31943 net.cpp:141] Setting up ip1
I0703 23:40:32.178154 31943 net.cpp:148] Top shape: 1 64 (64)
I0703 23:40:32.178156 31943 net.cpp:156] Memory required for data: 319744
I0703 23:40:32.178160 31943 layer_factory.hpp:77] Creating layer ip2
I0703 23:40:32.178164 31943 net.cpp:91] Creating Layer ip2
I0703 23:40:32.178167 31943 net.cpp:425] ip2 <- ip1
I0703 23:40:32.178171 31943 net.cpp:399] ip2 -> ip2
I0703 23:40:32.178180 31943 net.cpp:141] Setting up ip2
I0703 23:40:32.178184 31943 net.cpp:148] Top shape: 1 10 (10)
I0703 23:40:32.178186 31943 net.cpp:156] Memory required for data: 319784
I0703 23:40:32.178191 31943 layer_factory.hpp:77] Creating layer prob
I0703 23:40:32.178195 31943 net.cpp:91] Creating Layer prob
I0703 23:40:32.178198 31943 net.cpp:425] prob <- ip2
I0703 23:40:32.178202 31943 net.cpp:399] prob -> prob
I0703 23:40:32.178208 31943 net.cpp:141] Setting up prob
I0703 23:40:32.178212 31943 net.cpp:148] Top shape: 1 10 (10)
I0703 23:40:32.178215 31943 net.cpp:156] Memory required for data: 319824
I0703 23:40:32.178218 31943 net.cpp:219] prob does not need backward computation.
I0703 23:40:32.178222 31943 net.cpp:219] ip2 does not need backward computation.
I0703 23:40:32.178225 31943 net.cpp:219] ip1 does not need backward computation.
I0703 23:40:32.178230 31943 net.cpp:219] pool3 does not need backward computation.
I0703 23:40:32.178232 31943 net.cpp:219] relu3 does not need backward computation.
I0703 23:40:32.178236 31943 net.cpp:219] conv3 does not need backward computation.
I0703 23:40:32.178239 31943 net.cpp:219] pool2 does not need backward computation.
I0703 23:40:32.178242 31943 net.cpp:219] relu2 does not need backward computation.
I0703 23:40:32.178246 31943 net.cpp:219] conv2 does not need backward computation.
I0703 23:40:32.178249 31943 net.cpp:219] relu1 does not need backward computation.
I0703 23:40:32.178252 31943 net.cpp:219] pool1 does not need backward computation.
I0703 23:40:32.178256 31943 net.cpp:219] conv1 does not need backward computation.
I0703 23:40:32.178259 31943 net.cpp:219] data does not need backward computation.
I0703 23:40:32.178263 31943 net.cpp:261] This network produces output prob
I0703 23:40:32.178270 31943 net.cpp:274] Network initialization done.
I0703 23:40:32.178877 31943 net.cpp:807] Ignoring source layer cifar
I0703 23:40:32.178936 31943 hdf5.cpp:32] Datatype class: H5T_FLOAT
I0703 23:40:32.179275 31943 net.cpp:807] Ignoring source layer loss
[[ 2.47491669e-04 2.91208198e-06 1.55467838e-01 6.31742412e-03
7.95774441e-03 9.67397540e-08 8.28419626e-01 1.58608798e-03
5.70938130e-10 7.55837732e-07]]
6:frog
コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする