{ "default_visualization": { "jpeg": "yes", "jpeg_quality": "40", "refresh_rate": "400" }, "detected_platform_info": { "device_id": "", "devices": [], "features": { "os": { "abi": "", "bits": "64", "ck_os_base_uoa": "", "ck_os_uoa": "linux-64", "name": "", "name_long": "", "name_short": "", "serial_number": "" }, "os_misc": {} }, "host_desc": { "activate_cmd": "bash", "extra_cmd": "", "python_bin": "python", "venv_activate": "activate", "venv_bin": "bin" }, "host_os_dict": { "batch_bash_prefix": "#! /bin/bash\n", "batch_check_if_set": "if [ \"$1\" != \"1\" ]; then if [ \"$$#ck_var#$\" == \"1\" ]; then return; fi; fi\n", "batch_exit": "exit $#return_code#$", "batch_prefix": "#! /bin/bash\n# CK generated script\n", "bin_prefix": "./", "bits": "64", "bits_all": [ "32", "64" ], "change_dir": "cd", "ck_name": "linux", "ck_name2": "linux", "ck_name3": "linux", "cmd_for_detached_console": "xterm -hold -e \"$#cmd#$\"", "delete_file": "rm ", "dir_sep": "/", "env_call": ".", "env_dollar_if_remote": "yes", "env_quotes": "\"", "env_quotes_if_remote": "\"", "env_quotes_if_space": "\"", "env_quotes_if_space_in_call": "\"", "env_separator": ";", "env_set": "export", "env_var_extra1": "{", "env_var_extra2": "}", "env_var_separator": ":", "env_var_start": "$", "env_var_stop": "", "exec_prefix": "./", "extract_package": { ".tar.bz2": "rm -f $#cm_file_without_one_ext#$ ; bzip2 -d $#cm_file#$ ; tar xvf $#cm_file_without_one_ext#$; rm -f $#cm_file_without_one_ext#$", ".tar.gz": "rm -f $#cm_file_without_one_ext#$ ; gzip -d $#cm_file#$ ; tar xvf $#cm_file_without_one_ext#$; rm -f $#cm_file_without_one_ext#$", ".zip": "unzip -q -o $#cm_file#$ ; rm -f $#cm_file#$" }, "family": "linux", "file_extensions": { "dll": ".so", "exe": ".out", "java_class": ".class", "java_lib": ".jar", "lib": ".a" }, "generic": "yes", "host_file_extensions": { "exe2": "" }, "html_for_detached_console": "\r\n\r\n \r\nConsole was detached. This window can be closed!\r\n\r\n", "interpreter": "sh", "lib_dir": "lib64", "make_dir": "mkdir -p ", "md5sum": "md5sum", "name": "unix", "priority": "yes", "processor": "x64", "quit_if_error": "er=$?; if [ $er != 0 ]; then exit $er; fi", "redirect_stderr": "2>", "redirect_stderr_aggr": "2>>", "redirect_stderr_with_stdout": "2>>&1", "redirect_stdout": ">", "redirect_stdout_aggr": ">>", "rem": "#", "remote_env_set": [ "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD" ], "script_ext": ".sh", "script_get_gpu_frequency": "ck-print-gpu-freq", "script_set_cpu_freq": "ck-set-cpu-online-and-frequency $#freq#$", "script_set_gpu_freq": "ck-set-gpu-online-and-frequency $#freq#$", "script_set_max_cpu_freq": "ck-set-cpu-performance", "script_set_max_gpu_freq": "ck-set-gpu-performance", "script_set_min_cpu_freq": "ck-set-cpu-powersave", "script_set_min_gpu_freq": "ck-set-gpu-powersave", "script_set_ondemand_cpu_freq": "ck-set-cpu-ondemand", "script_set_ondemand_gpu_freq": "ck-set-gpu-ondemand", "script_start_power_monitor": "ck-set-power-sensors 1", "script_stop_power_monitor": "ck-set-power-sensors 0", "set_affinity": "taskset -c $#ck_affinity#$", "set_executable": "chmod 755", "sudo_init": "sudo echo sudo_init...", "sudo_post": "sudo chown -R $USER:$USER ", "sudo_pre": "sudo ", "suppress_output": "> /dev/null", "tags": [ "os", "linux", "standard" ], "use_bash_to_run": "bash -c \"$#cmd#$\"" }, "host_os_uid": "4258b5fe54828a50", "host_os_uoa": "linux-64", "os_dict": { "batch_bash_prefix": "#! /bin/bash\n", "batch_check_if_set": "if [ \"$1\" != \"1\" ]; then if [ \"$$#ck_var#$\" == \"1\" ]; then return; fi; fi\n", "batch_exit": "exit $#return_code#$", "batch_prefix": "#! /bin/bash\n# CK generated script\n", "bin_prefix": "./", "bits": "64", "bits_all": [ "32", "64" ], "change_dir": "cd", "ck_name": "linux", "ck_name2": "linux", "ck_name3": "linux", "cmd_for_detached_console": "xterm -hold -e \"$#cmd#$\"", "delete_file": "rm ", "dir_sep": "/", "env_call": ".", "env_dollar_if_remote": "yes", "env_quotes": "\"", "env_quotes_if_remote": "\"", "env_quotes_if_space": "\"", "env_quotes_if_space_in_call": "\"", "env_separator": ";", "env_set": "export", "env_var_extra1": "{", "env_var_extra2": "}", "env_var_separator": ":", "env_var_start": "$", "env_var_stop": "", "exec_prefix": "./", "extract_package": { ".tar.bz2": "rm -f $#cm_file_without_one_ext#$ ; bzip2 -d $#cm_file#$ ; tar xvf $#cm_file_without_one_ext#$; rm -f $#cm_file_without_one_ext#$", ".tar.gz": "rm -f $#cm_file_without_one_ext#$ ; gzip -d $#cm_file#$ ; tar xvf $#cm_file_without_one_ext#$; rm -f $#cm_file_without_one_ext#$", ".zip": "unzip -q -o $#cm_file#$ ; rm -f $#cm_file#$" }, "family": "linux", "file_extensions": { "dll": ".so", "exe": ".out", "java_class": ".class", "java_lib": ".jar", "lib": ".a" }, "generic": "yes", "host_file_extensions": { "exe2": "" }, "html_for_detached_console": "\r\n\r\n \r\nConsole was detached. This window can be closed!\r\n\r\n", "interpreter": "sh", "lib_dir": "lib64", "make_dir": "mkdir -p ", "md5sum": "md5sum", "name": "unix", "priority": "yes", "processor": "x64", "quit_if_error": "er=$?; if [ $er != 0 ]; then exit $er; fi", "redirect_stderr": "2>", "redirect_stderr_aggr": "2>>", "redirect_stderr_with_stdout": "2>>&1", "redirect_stdout": ">", "redirect_stdout_aggr": ">>", "rem": "#", "remote_env_set": [ "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD" ], "script_ext": ".sh", "script_get_gpu_frequency": "ck-print-gpu-freq", "script_set_cpu_freq": "ck-set-cpu-online-and-frequency $#freq#$", "script_set_gpu_freq": "ck-set-gpu-online-and-frequency $#freq#$", "script_set_max_cpu_freq": "ck-set-cpu-performance", "script_set_max_gpu_freq": "ck-set-gpu-performance", "script_set_min_cpu_freq": "ck-set-cpu-powersave", "script_set_min_gpu_freq": "ck-set-gpu-powersave", "script_set_ondemand_cpu_freq": "ck-set-cpu-ondemand", "script_set_ondemand_gpu_freq": "ck-set-gpu-ondemand", "script_start_power_monitor": "ck-set-power-sensors 1", "script_stop_power_monitor": "ck-set-power-sensors 0", "set_affinity": "taskset -c $#ck_affinity#$", "set_executable": "chmod 755", "sudo_init": "sudo echo sudo_init...", "sudo_post": "sudo chown -R $USER:$USER ", "sudo_pre": "sudo ", "suppress_output": "> /dev/null", "tags": [ "os", "linux", "standard" ], "use_bash_to_run": "bash -c \"$#cmd#$\"" }, "os_uid": "4258b5fe54828a50", "os_uoa": "linux-64", "return": 0, "target_add_path": [ "/home/cindex/CK/ck-env/platform.init/generic-linux" ], "target_add_path_string": "export PATH=/home/cindex/CK/ck-env/platform.init/generic-linux:$PATH\n" }, "device_id": "", "host_os": "", "hostname": "https://codereef.io:4444", "prepare_workflow": [ "pip install gast ", "pip install astor ", "pip install termcolor ", "pip install tensorflow-estimator==1.13.0 ", "pip install keras_applications==1.0.4 --no-deps ", "pip install keras_preprocessing==1.0.2 --no-deps ", "", "pip install opencv-python", "", "ck install package:lib-tensorflow-1.13.1-cpu", "", "ck install package --tags=model,tf,object-detection,mlperf,ssd-mobilenet,non-quantized", "", "ck install package --tags=lib,python-package,numpy", "ck install package --tags=lib,python-package,scipy --force_version=1.2.1", "ck install package --tags=lib,python-package,matplotlib", "ck install package --tags=lib,python-package,pillow", "ck install package --tags=lib,python-package,cython", "ck install package --tags=lib,python-package,cv2", "", "ck install package:tool-coco", "", "ck install package:dataset-coco-2017-val", "" ], "prereq_workflow": [ "Sources:", "* https://github.com/mlperf/inference/tree/master/v0.5/classification_and_detection/optional_harness_ck/detection", "* https://github.com/mlperf/inference/blob/master/v0.5/classification_and_detection/optional_harness_ck/detection/tf-py/README.md", "", "This CodeReef solution demo was prepared by Grigori Fursin and Hervé Guillou (CodeReef).", "", "Ubuntu (need those deps to rebuild COCO API):", "", " sudo apt update", " sudo apt install git wget libz-dev curl cmake", " sudo apt install gcc g++ autoconf autogen libtool", "", "On some occasion we need to install extra deps:", " sudo apt install -y libsm6 libxext6 libxrender-dev", "" ], "python_version": "3.6.9", "related_components": { "paper": { "title": "MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications", "uid": "9a927e4ce9be41b4" }, "result_uoa": "crowd-benchmarking-mlperf-inference-classification-mobilenets" }, "run_workflow": [], "tags": [ "codereef-solution" ], "target_os": "", "workflow": "program:object-detection-tf-py-codereef", "workflow_cmd": "default", "workflow_cmd_extra": "", "workflow_input": "webcam", "workflow_input_dir": "", "workflow_output_dir": "tmp/output", "workflow_repo_url": "https://github.com/code-reef/ck-tensorflow-codereef" }