Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
211 lines (210 sloc) 5.88 KB
{
"backup_data_uid": "883cc4dde19eb5b8",
"data_name": "caffe2",
"no_compile": "yes",
"no_target_file": "yes",
"only_for_target_os_tags": [
"windows",
"linux"
],
"print_files_after_run": [
"stderr2.log",
"stderr.log"
],
"process_in_tmp": "yes",
"program": "yes",
"run_cmds": {
"classify": {
"dataset_tags": [
"image",
"jpeg",
"dataset"
],
"ignore_return_code": "no",
"run_deps": {
"caffe2": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe2 lib",
"sort": 5,
"tags": "lib,caffe2"
},
"caffemodel2": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe2 model (net and weights)",
"sort": 40,
"tags": "caffemodel2",
"no_tags": "caffemodel"
},
"python": {
"local": "yes",
"name": "Python",
"sort": 0,
"tags": "compiler,python",
"version_to":[2,8]
}
},
"run_time": {
"run_cmd_main": "$<<CK_ENV_COMPILER_PYTHON_FILE>>$ ../classify.py $<<CK_ENV_MODEL_CAFFE2_WEIGHTS>>$ $<<CK_ENV_MODEL_CAFFE2>>$/predict_net.pb ../alexnet_codes $#dataset_path#$$#dataset_filename#$",
"run_cmd_out1": "stderr.log",
"run_cmd_out2": "stderr2.log"
}
},
"classify_ck_ai_api": {
"ignore_return_code": "no",
"run_deps": {
"caffe2": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe2 lib",
"sort": 5,
"skip_pruning_by_other_deps":"yes",
"tags": "lib,caffe2"
},
"caffemodel2": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe2 model (net and weights)",
"sort": 40,
"tags": "caffemodel2"
}
},
"run_time": {
"run_cmd_main": "$<<CK_ENV_COMPILER_PYTHON_FILE>>$ ../classify.py $<<CK_ENV_MODEL_CAFFE2_WEIGHTS>>$ $<<CK_ENV_MODEL_CAFFE2>>$/predict_net.pb ../alexnet_codes $<<CK_AI_API_IMAGE_FILE>>$",
"run_cmd_out1": "stderr.log",
"run_cmd_out2": "stderr2.log",
"run_correctness_output_files": []
}
},
"convert_caffe1_model_to_caffe2": {
"ignore_return_code": "no",
"run_deps": {
"caffe2": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe2 lib",
"sort": 5,
"skip_pruning_by_other_deps":"yes",
"tags": "lib,caffe2"
},
"caffemodel": {
"force_target_as_host": "yes",
"local": "yes",
"name": "Caffe model (net and weights)",
"sort": 10,
"tags": "caffemodel"
},
"python": {
"local": "yes",
"name": "Python",
"sort": 0,
"tags": "compiler,python",
"version_to":[2,8]
}
},
"run_time": {
"pre_process_via_ck": {
"script_name": "preprocess"
},
"run_cmd_main": "$<<CK_ENV_COMPILER_PYTHON_FILE>>$ $<<CK_ENV_LIB_CAFFE2>>$/caffe2/python/caffe_translator.py $<<CK_CAFFE_MODEL_TOPOLOGY_FILE>>$ $<<CK_ENV_MODEL_CAFFE_WEIGHTS>>$",
"run_correctness_output_files": [],
"run_input_files": [
"$<<CK_CAFFE_MODEL_FILE>>$",
"$<<CK_ENV_MODEL_CAFFE_WEIGHTS>>$",
"imagenet_mean.binaryproto",
"synset_words.txt"
],
"run_output_files": []
}
},
"time_cpu": {
"dataset_tags": [
"benchmark",
"caffe2",
"dataset",
"vcpu"
],
"ignore_return_code": "no",
"run_deps": {
"lib-caffe2": {
"local": "yes",
"name": "Caffe2 library",
"sort": 10,
"tags": "lib,caffe2,vcpu"
},
"python": {
"local": "yes",
"name": "Python",
"sort": 0,
"tags": "compiler,python",
"version_to":[2,8]
}
},
"run_time": {
"fine_grain_timer_file": "tmp-ck-timer.json",
"post_process_cmds": [
"python $#src_path_local#$postprocess_time.py"
],
"post_process_via_ck": "yes",
"run_cmd_main": "$<<CK_ENV_COMPILER_PYTHON_FILE>>$ ../convnet_benchmarks.py --ck_model $#dataset_path#$ --cpu --batch_size $<<BATCH_SIZE>>$",
"run_cmd_out1": "stderr.log",
"run_cmd_out2": "stderr2.log",
"run_output_files": [
"stderr.log",
"stderr2.log",
"tmp-ck-timer.json"
]
}
},
"time_cuda": {
"dataset_tags": [
"benchmark",
"caffe2",
"dataset",
"vcuda"
],
"ignore_return_code": "no",
"run_deps": {
"lib-caffe2": {
"local": "yes",
"name": "Caffe2 library",
"sort": 10,
"skip_pruning_by_other_deps":"yes",
"tags": "lib,caffe2,vcuda"
},
"python": {
"local": "yes",
"name": "Python",
"sort": 0,
"tags": "compiler,python",
"version_to":[2,8]
}
},
"run_time": {
"fine_grain_timer_file": "tmp-ck-timer.json",
"post_process_cmds": [
"python $#src_path_local#$postprocess_time.py"
],
"post_process_via_ck": "yes",
"run_cmd_main": "$<<CK_ENV_COMPILER_PYTHON_FILE>>$ ../convnet_benchmarks.py --ck_model $#dataset_path#$ --batch_size $<<BATCH_SIZE>>$",
"run_cmd_out1": "stderr.log",
"run_cmd_out2": "stderr2.log",
"run_output_files": [
"stderr.log",
"stderr2.log",
"tmp-ck-timer.json"
]
}
}
},
"run_vars": {
"BATCH_SIZE": 5
},
"skip_tmp_deps": "yes",
"tags": [
"program",
"caffe2"
],
"version": "1.0.0"
}