Initializing universal program pipeline ... Selected program: caffe (569404c41618603a) *************************************************************************************** Obtaining platform parameters and checking other obligatory choices for the pipeline ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Selected host platform: linux-32 Selected target platform: linux-32 ************ Selecting command line ... 0) classify ($<>$ $<>$ $<>$ $#up_dir#$for_classification_demo/imagenet_mean.binaryproto $#up_dir#$for_classification_demo/synset_words.txt $#dataset_path#$$#dataset_filename#$) 1) classify_ck_ai_api ($<>$ $<>$ $<>$ $#up_dir#$for_classification_demo/imagenet_mean.binaryproto $#up_dir#$for_classification_demo/synset_words.txt $<>$) 2) query_gpu_cuda ($<>$ device_query --gpu=$<>$) 3) query_gpu_opencl ($<>$ device_query) 4) test_cpu ($<>$ test --model=$<>$ --weights=$<>$ --iterations=$<>$) 5) test_gpu ($<>$ test --model=$<>$ --weights=$<>$ --iterations=$<>$ --gpu=$<>$) 6) test_gpu_fp16 ($<>$ test --model=$<>$ --weights=$<>$ --iterations=$<>$ --gpu=$<>$) 7) time_cpu ($<>$ time --model=$<>$ --iterations=1) 8) time_gpu ($<>$ time --model=$<>$ --gpu=$<>$ --iterations=1) 9) time_gpu_fp16 ($<>$ time --model=$<>$ --gpu=$<>$ --iterations=1) Select item (or press Enter for 0): Selected command line: classify ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- Selected data set: image-jpeg-fgg (21500da03e4ccfa3) Selected dataset file: photo.jpg Selected dependencies: caffemodel env = 7694679b5c7094de; tags = ["32bits", "alexnet", "bvlc", "caffe", "caffemodel", "host-os-linux-32", "net", "target-os-linux-32", "v0", "v0.0", "weights"] lib-caffe env = 4bbb83802e9226b3; tags = ["32bits", "bvlc", "caffe", "host-os-linux-32", "lib", "target-os-linux-32", "v0", "v0.0", "vclblast", "vopencl"] *************************************************************************************** Current directory: /home/odroid/CK/ck-caffe/program/caffe/tmp *************************************************************************************** ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- *************************************************************************************** Pipeline is ready! --------------------------------------------------------------------------------------- Pipeline iteration: 1 of 1 Vector of flattened and updated choices: ------------------- Statistical repetition: 1 of 4 ------------------- Initializing universal program pipeline ... Selected program: caffe (569404c41618603a) *************************************************************************************** Obtaining platform parameters and checking other obligatory choices for the pipeline ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Selected host platform: linux-32 Selected target platform: linux-32 Selected command line: classify Selected data set: image-jpeg-fgg (21500da03e4ccfa3) Selected dataset file: photo.jpg Selected dependencies: caffemodel env = 7694679b5c7094de; tags = ["32bits", "alexnet", "bvlc", "caffe", "caffemodel", "host-os-linux-32", "net", "target-os-linux-32", "v0", "v0.0", "weights"] lib-caffe env = 4bbb83802e9226b3; tags = ["32bits", "bvlc", "caffe", "host-os-linux-32", "lib", "target-os-linux-32", "v0", "v0.0", "vclblast", "vopencl"] *************************************************************************************** Setting CPU frequency to max (if supported) ... CMD to set CPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-cpu-performance Bringing all CPU online ... *** Processing /sys/devices/system/cpu/cpu0 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu1 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu2 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu3 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu4 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu5 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu6 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu7 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *************************************************************************************** Setting GPU frequency to max (if supported) ... CMD to set GPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-gpu-performance *************************************************************************************** Detecting all target platform features ... *************************************************************************************** Detecting OS and CPU features ... Number of logical processors: 8 CPU name: ODROID-XU3 CPU sub name: ARMv7 Processor rev 3 (v7l) CPU ABI: CPU features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU max frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU all frequencies (Hz): CPU0 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU1 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU2 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU3 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU4 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU5 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU6 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU7 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] *************************************************************************************** Detecting GPU features ... Executing: lspci > /tmp/tmp-ck-VyZqJ7 2> /tmp/tmp-ck-6YVkmG *************************************************************************************** Detecting system features ... Platform name: Hardkernel (Hardkernel Odroid XU4) Platform vendor: Hardkernel Platform model: Hardkernel Odroid XU4 *************************************************************************************** Checking dataset features for image-jpeg-fgg (21500da03e4ccfa3) ... Features found: {"compression": "", "format": "JPEG", "total_size": 33418, "height": 320, "width": 240, "mode": "RGB"} *************************************************************************************** Compile program ... *************************************************************************************** Running program ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Current directory: /home/odroid/CK/ck-caffe/program/caffe/tmp *************************************************************************************** ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- (pre processing via CK (/home/odroid/CK/ck-caffe/program/caffe, preprocess) Cleaning output files and directories: stderr.log stderr2.log stdout.log stderr.log *************************************************************************************** *************************************************************************************** Prepared script: #! /bin/bash export PATH=/home/odroid/CK/ck-env/platform.init/generic-odroid:$PATH . /home/odroid/CK/local/env/4bbb83802e9226b3/env.sh . /home/odroid/CK/local/env/7694679b5c7094de/env.sh export CAFFE_COMPUTE_DEVICE_ID=0 export CK_CPU_FREQUENCY=max export CK_GPU_FREQUENCY=max export CK_DATASET_PATH=/home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/ export CK_DATASET_FILENAME=photo.jpg export CK_CAFFE_MODEL_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_BATCH_SIZE=10 export CK_ENV_MODEL_CAFFE_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_MODEL_MEAN_BIN=imagenet_mean.binaryproto export CK_CAFFE_ITERATIONS=0 export CK_CAFFE_MODEL=/home/odroid/CK/ck-caffe/program/caffe/tmp/tmp-RFnApZ.prototxt export CK_CAFFE_MODEL_FILE=tmp-RFnApZ.prototxt echo executing code ... ${CK_CAFFE_CLASSIFICATION_BIN} ${CK_CAFFE_MODEL_FILE} ${CK_CAFFE_MODEL_WEIGHTS} ../for_classification_demo/imagenet_mean.binaryproto ../for_classification_demo/synset_words.txt /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg > stderr.log 2> stderr2.log *************************************************************************************** (bash -c "chmod 755 ./tmp-BwGTB4.sh; . ./tmp-BwGTB4.sh") (sleep 0.5 sec ...) (run ...) executing code ... (printing output files) * stderr.log Use GPU with device ID 0 ---------- Prediction for /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg ---------- 0.2671 - "n04350905 suit, suit of clothes" 0.1145 - "n03763968 military uniform" 0.1037 - "n02883205 bow tie, bow-tie, bowtie" 0.0489 - "n04591157 Windsor tie" 0.0194 - "n02916936 bulletproof vest" (post processing from script / ... )" Execution time: 67.015 sec. *************************************************************************************** Pipeline executed successfully! ------------------- Statistical repetition: 2 of 4 ------------------- Initializing universal program pipeline ... Selected program: caffe (569404c41618603a) *************************************************************************************** Obtaining platform parameters and checking other obligatory choices for the pipeline ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Selected host platform: linux-32 Selected target platform: linux-32 Selected command line: classify Selected data set: image-jpeg-fgg (21500da03e4ccfa3) Selected dataset file: photo.jpg Selected dependencies: caffemodel env = 7694679b5c7094de; tags = ["32bits", "alexnet", "bvlc", "caffe", "caffemodel", "host-os-linux-32", "net", "target-os-linux-32", "v0", "v0.0", "weights"] lib-caffe env = 4bbb83802e9226b3; tags = ["32bits", "bvlc", "caffe", "host-os-linux-32", "lib", "target-os-linux-32", "v0", "v0.0", "vclblast", "vopencl"] *************************************************************************************** Setting CPU frequency to max (if supported) ... CMD to set CPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-cpu-performance Bringing all CPU online ... *** Processing /sys/devices/system/cpu/cpu0 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu1 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu2 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu3 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu4 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu5 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu6 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu7 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *************************************************************************************** Setting GPU frequency to max (if supported) ... CMD to set GPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-gpu-performance *************************************************************************************** Detecting all target platform features ... *************************************************************************************** Detecting OS and CPU features ... Number of logical processors: 8 CPU name: ODROID-XU3 CPU sub name: ARMv7 Processor rev 3 (v7l) CPU ABI: CPU features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU max frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU all frequencies (Hz): CPU0 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU1 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU2 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU3 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU4 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU5 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU6 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU7 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] *************************************************************************************** Detecting GPU features ... Executing: lspci > /tmp/tmp-ck-JM6h4S 2> /tmp/tmp-ck-twsK9m *************************************************************************************** Detecting system features ... Platform name: Hardkernel (Hardkernel Odroid XU4) Platform vendor: Hardkernel Platform model: Hardkernel Odroid XU4 *************************************************************************************** Checking dataset features for image-jpeg-fgg (21500da03e4ccfa3) ... Features found: {"compression": "", "format": "JPEG", "total_size": 33418, "height": 320, "width": 240, "mode": "RGB"} *************************************************************************************** Running program ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Current directory: /home/odroid/CK/ck-caffe/program/caffe/tmp *************************************************************************************** ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- (pre processing via CK (/home/odroid/CK/ck-caffe/program/caffe, preprocess) Cleaning output files and directories: stderr.log stderr2.log stdout.log stderr.log *************************************************************************************** *************************************************************************************** Prepared script: #! /bin/bash export PATH=/home/odroid/CK/ck-env/platform.init/generic-odroid:$PATH . /home/odroid/CK/local/env/4bbb83802e9226b3/env.sh . /home/odroid/CK/local/env/7694679b5c7094de/env.sh export CAFFE_COMPUTE_DEVICE_ID=0 export CK_CPU_FREQUENCY=max export CK_GPU_FREQUENCY=max export CK_DATASET_PATH=/home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/ export CK_DATASET_FILENAME=photo.jpg export CK_CAFFE_MODEL_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_BATCH_SIZE=10 export CK_ENV_MODEL_CAFFE_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_MODEL_MEAN_BIN=imagenet_mean.binaryproto export CK_CAFFE_ITERATIONS=0 export CK_CAFFE_MODEL=/home/odroid/CK/ck-caffe/program/caffe/tmp/tmp-DBhNP7.prototxt export CK_CAFFE_MODEL_FILE=tmp-DBhNP7.prototxt echo executing code ... ${CK_CAFFE_CLASSIFICATION_BIN} ${CK_CAFFE_MODEL_FILE} ${CK_CAFFE_MODEL_WEIGHTS} ../for_classification_demo/imagenet_mean.binaryproto ../for_classification_demo/synset_words.txt /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg > stderr.log 2> stderr2.log *************************************************************************************** (bash -c "chmod 755 ./tmp-B_Mpf2.sh; . ./tmp-B_Mpf2.sh") (sleep 0.5 sec ...) (run ...) executing code ... (printing output files) * stderr.log Use GPU with device ID 0 ---------- Prediction for /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg ---------- 0.2671 - "n04350905 suit, suit of clothes" 0.1145 - "n03763968 military uniform" 0.1037 - "n02883205 bow tie, bow-tie, bowtie" 0.0489 - "n04591157 Windsor tie" 0.0194 - "n02916936 bulletproof vest" (post processing from script / ... )" Execution time: 67.824 sec. *************************************************************************************** Pipeline executed successfully! ------------------- Statistical repetition: 3 of 4 ------------------- Initializing universal program pipeline ... Selected program: caffe (569404c41618603a) *************************************************************************************** Obtaining platform parameters and checking other obligatory choices for the pipeline ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Selected host platform: linux-32 Selected target platform: linux-32 Selected command line: classify Selected data set: image-jpeg-fgg (21500da03e4ccfa3) Selected dataset file: photo.jpg Selected dependencies: caffemodel env = 7694679b5c7094de; tags = ["32bits", "alexnet", "bvlc", "caffe", "caffemodel", "host-os-linux-32", "net", "target-os-linux-32", "v0", "v0.0", "weights"] lib-caffe env = 4bbb83802e9226b3; tags = ["32bits", "bvlc", "caffe", "host-os-linux-32", "lib", "target-os-linux-32", "v0", "v0.0", "vclblast", "vopencl"] *************************************************************************************** Setting CPU frequency to max (if supported) ... CMD to set CPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-cpu-performance Bringing all CPU online ... *** Processing /sys/devices/system/cpu/cpu0 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu1 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu2 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu3 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu4 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu5 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu6 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu7 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *************************************************************************************** Setting GPU frequency to max (if supported) ... CMD to set GPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-gpu-performance *************************************************************************************** Detecting all target platform features ... *************************************************************************************** Detecting OS and CPU features ... Number of logical processors: 8 CPU name: ODROID-XU3 CPU sub name: ARMv7 Processor rev 3 (v7l) CPU ABI: CPU features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU max frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU all frequencies (Hz): CPU0 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU1 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU2 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU3 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU4 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU5 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU6 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU7 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] *************************************************************************************** Detecting GPU features ... Executing: lspci > /tmp/tmp-ck-Zy6N5P 2> /tmp/tmp-ck-FmTU1V *************************************************************************************** Detecting system features ... Platform name: Hardkernel (Hardkernel Odroid XU4) Platform vendor: Hardkernel Platform model: Hardkernel Odroid XU4 *************************************************************************************** Checking dataset features for image-jpeg-fgg (21500da03e4ccfa3) ... Features found: {"compression": "", "format": "JPEG", "total_size": 33418, "height": 320, "width": 240, "mode": "RGB"} *************************************************************************************** Running program ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Current directory: /home/odroid/CK/ck-caffe/program/caffe/tmp *************************************************************************************** ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- (pre processing via CK (/home/odroid/CK/ck-caffe/program/caffe, preprocess) Cleaning output files and directories: stderr.log stderr2.log stdout.log stderr.log *************************************************************************************** *************************************************************************************** Prepared script: #! /bin/bash export PATH=/home/odroid/CK/ck-env/platform.init/generic-odroid:$PATH . /home/odroid/CK/local/env/4bbb83802e9226b3/env.sh . /home/odroid/CK/local/env/7694679b5c7094de/env.sh export CAFFE_COMPUTE_DEVICE_ID=0 export CK_CPU_FREQUENCY=max export CK_GPU_FREQUENCY=max export CK_DATASET_PATH=/home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/ export CK_DATASET_FILENAME=photo.jpg export CK_CAFFE_MODEL_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_BATCH_SIZE=10 export CK_ENV_MODEL_CAFFE_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_MODEL_MEAN_BIN=imagenet_mean.binaryproto export CK_CAFFE_ITERATIONS=0 export CK_CAFFE_MODEL=/home/odroid/CK/ck-caffe/program/caffe/tmp/tmp-uOjJ6B.prototxt export CK_CAFFE_MODEL_FILE=tmp-uOjJ6B.prototxt echo executing code ... ${CK_CAFFE_CLASSIFICATION_BIN} ${CK_CAFFE_MODEL_FILE} ${CK_CAFFE_MODEL_WEIGHTS} ../for_classification_demo/imagenet_mean.binaryproto ../for_classification_demo/synset_words.txt /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg > stderr.log 2> stderr2.log *************************************************************************************** (bash -c "chmod 755 ./tmp-IWG0Ue.sh; . ./tmp-IWG0Ue.sh") (sleep 0.5 sec ...) (run ...) executing code ... (printing output files) * stderr.log Use GPU with device ID 0 ---------- Prediction for /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg ---------- 0.2671 - "n04350905 suit, suit of clothes" 0.1145 - "n03763968 military uniform" 0.1037 - "n02883205 bow tie, bow-tie, bowtie" 0.0489 - "n04591157 Windsor tie" 0.0194 - "n02916936 bulletproof vest" (post processing from script / ... )" Execution time: 68.330 sec. *************************************************************************************** Pipeline executed successfully! ------------------- Statistical repetition: 4 of 4 ------------------- Initializing universal program pipeline ... Selected program: caffe (569404c41618603a) *************************************************************************************** Obtaining platform parameters and checking other obligatory choices for the pipeline ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Selected host platform: linux-32 Selected target platform: linux-32 Selected command line: classify Selected data set: image-jpeg-fgg (21500da03e4ccfa3) Selected dataset file: photo.jpg Selected dependencies: caffemodel env = 7694679b5c7094de; tags = ["32bits", "alexnet", "bvlc", "caffe", "caffemodel", "host-os-linux-32", "net", "target-os-linux-32", "v0", "v0.0", "weights"] lib-caffe env = 4bbb83802e9226b3; tags = ["32bits", "bvlc", "caffe", "host-os-linux-32", "lib", "target-os-linux-32", "v0", "v0.0", "vclblast", "vopencl"] *************************************************************************************** Setting CPU frequency to max (if supported) ... CMD to set CPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-cpu-performance Bringing all CPU online ... *** Processing /sys/devices/system/cpu/cpu0 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu1 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu2 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu3 ... Setting performance state ... Setting min/max frequency=1400000/1400000 ... Current frequency=1400000 *** Processing /sys/devices/system/cpu/cpu4 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu5 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu6 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *** Processing /sys/devices/system/cpu/cpu7 ... Setting performance state ... Setting min/max frequency=2000000/2000000 ... Current frequency=2000000 *************************************************************************************** Setting GPU frequency to max (if supported) ... CMD to set GPU frequency: /home/odroid/CK/ck-env/platform.init/generic-odroid/ck-set-gpu-performance *************************************************************************************** Detecting all target platform features ... *************************************************************************************** Detecting OS and CPU features ... Number of logical processors: 8 CPU name: ODROID-XU3 CPU sub name: ARMv7 Processor rev 3 (v7l) CPU ABI: CPU features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU max frequency: CPU0 = 1400.0 MHz CPU1 = 1400.0 MHz CPU2 = 1400.0 MHz CPU3 = 1400.0 MHz CPU4 = 2000.0 MHz CPU5 = 2000.0 MHz CPU6 = 2000.0 MHz CPU7 = 2000.0 MHz CPU all frequencies (Hz): CPU0 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU1 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU2 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU3 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1200000, 1300000, 1400000] CPU4 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU5 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU6 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] CPU7 = [200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 1900000, 2000000] *************************************************************************************** Detecting GPU features ... Executing: lspci > /tmp/tmp-ck-yVt04h 2> /tmp/tmp-ck-BZsjNU *************************************************************************************** Detecting system features ... Platform name: Hardkernel (Hardkernel Odroid XU4) Platform vendor: Hardkernel Platform model: Hardkernel Odroid XU4 *************************************************************************************** Checking dataset features for image-jpeg-fgg (21500da03e4ccfa3) ... Features found: {"compression": "", "format": "JPEG", "total_size": 33418, "height": 320, "width": 240, "mode": "RGB"} *************************************************************************************** Running program ... OS CK UOA: linux-32 (fb525e34243f49c1) OS name: Ubuntu 16.04.2 LTS Short OS name: Linux 4.9.27 Long OS name: Linux-4.9.27-35-armv7l-with-Ubuntu-16.04-xenial OS bits: 32 OS ABI: armv7l Platform init UOA: 34fe49aa49a49937 *************************************************************************************** Current directory: /home/odroid/CK/ck-caffe/program/caffe/tmp *************************************************************************************** ----------------------------------- Resolving software dependencies ... *** Dependency 1 = lib-caffe (Caffe framework): Resolved. CK environment UID = 4bbb83802e9226b3 *** Dependency 2 = caffemodel (Caffe model (net and weights)): Resolved. CK environment UID = 7694679b5c7094de ----------------------------------- (pre processing via CK (/home/odroid/CK/ck-caffe/program/caffe, preprocess) Cleaning output files and directories: stderr.log stderr2.log stdout.log stderr.log *************************************************************************************** *************************************************************************************** Prepared script: #! /bin/bash export PATH=/home/odroid/CK/ck-env/platform.init/generic-odroid:$PATH . /home/odroid/CK/local/env/4bbb83802e9226b3/env.sh . /home/odroid/CK/local/env/7694679b5c7094de/env.sh export CAFFE_COMPUTE_DEVICE_ID=0 export CK_CPU_FREQUENCY=max export CK_GPU_FREQUENCY=max export CK_DATASET_PATH=/home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/ export CK_DATASET_FILENAME=photo.jpg export CK_CAFFE_MODEL_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_BATCH_SIZE=10 export CK_ENV_MODEL_CAFFE_WEIGHTS=/home/odroid/CK-TOOLS/caffemodel-bvlc-alexnet/bvlc_alexnet.caffemodel export CK_CAFFE_MODEL_MEAN_BIN=imagenet_mean.binaryproto export CK_CAFFE_ITERATIONS=0 export CK_CAFFE_MODEL=/home/odroid/CK/ck-caffe/program/caffe/tmp/tmp-KjZ3BS.prototxt export CK_CAFFE_MODEL_FILE=tmp-KjZ3BS.prototxt echo executing code ... ${CK_CAFFE_CLASSIFICATION_BIN} ${CK_CAFFE_MODEL_FILE} ${CK_CAFFE_MODEL_WEIGHTS} ../for_classification_demo/imagenet_mean.binaryproto ../for_classification_demo/synset_words.txt /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg > stderr.log 2> stderr2.log *************************************************************************************** (bash -c "chmod 755 ./tmp-5FHY3C.sh; . ./tmp-5FHY3C.sh") (sleep 0.5 sec ...) (run ...) executing code ... (printing output files) * stderr.log Use GPU with device ID 0 ---------- Prediction for /home/odroid/CK/ck-autotuning/dataset/image-jpeg-fgg/photo.jpg ---------- 0.2671 - "n04350905 suit, suit of clothes" 0.1145 - "n03763968 military uniform" 0.1037 - "n02883205 bow tie, bow-tie, bowtie" 0.0489 - "n04591157 Windsor tie" 0.0194 - "n02916936 bulletproof vest" (post processing from script / ... )" Execution time: 69.025 sec. *************************************************************************************** Pipeline executed successfully! Performing explicit statistical analysis of experiments ... *************************************************************************************** Done! *************************************************************************************** Some statistics: * Failed: no * Binary size: 0 * Object size: 0 * Kernel repeat: 1 * Normalized time in sec. (min): 67.0154600143 * Normalized time in sec. (max): 69.0249960423 * Total time in sec. (min): 67.0154600143 * Total time in sec. (max): 69.0249960423