Collective Knowledge Aggregator beta
Home CK AI Interactive articles Graphs Programs Datasets Models Browse Get CK About
tensorflow

Added by: cTuning foundation
Date: 2017-05-15 17:53:52.444274
License: See CK LICENSE.txt for licensing details
Module: program
Repo: ck-tensorflow
CID (DOI-like distributed ID): b0ac08fe1d3c2615:62de6ce26934e3eb
Tags: tensorflow-classification,ck-ai-image-classification,demo

Files:
LICENSE    (12KB)
classify.py    (7KB)

Cross-linking (dependencies):

Meta:
{
  "backup_data_uid": "62de6ce26934e3eb", 
  "data_name": "tensorflow", 
  "no_compile": "yes", 
  "no_target_file": "yes", 
  "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": {
        "lib-tensorflow": {
          "local": "yes", 
          "name": "TensorFlow library", 
          "skip_pruning_by_other_deps": "yes", 
          "sort": 10, 
          "tags": "lib,tensorflow"
        }, 
        "tensorflow-model": {
          "local": "yes", 
          "name": "TensorFlow model (net and weights)", 
          "sort": 20, 
          "tags": "tensorflowmodel,native"
        }
      }, 
      "run_time": {
        "run_cmd_main": "$<>$ ../classify.py --model_dir=$<>$ --image_file=$#dataset_path#$$#dataset_filename#$", 
        "run_cmd_out1": "stderr.log", 
        "run_cmd_out2": "stderr2.log", 
        "run_output_files": [
          "stderr.log", 
          "stderr2.log"
        ]
      }
    }, 
    "classify_ck_ai_api": {
      "ignore_return_code": "no", 
      "run_deps": {
        "lib-tensorflow": {
          "local": "yes", 
          "name": "TensorFlow library", 
          "skip_pruning_by_other_deps": "yes", 
          "sort": 10, 
          "tags": "lib,tensorflow"
        }, 
        "tensorflow-model": {
          "local": "yes", 
          "name": "TensorFlow model (net and weights)", 
          "sort": 20, 
          "tags": "tensorflowmodel,native"
        }
      }, 
      "run_time": {
        "run_cmd_main": "$<>$ ../classify.py --model_dir=$<>$ --image_file=$<>$", 
        "run_cmd_out1": "stderr.log", 
        "run_cmd_out2": "stderr2.log", 
        "run_output_files": [
          "stderr.log", 
          "stderr2.log"
        ]
      }
    }, 
    "time_cpu": {
      "dataset_tags": [
        "benchmark", 
        "tensorflow", 
        "dataset", 
        "vcpu"
      ], 
      "ignore_return_code": "no", 
      "run_deps": {
        "lib-tensorflow": {
          "local": "yes", 
          "name": "TensorFlow library", 
          "skip_pruning_by_other_deps": "yes", 
          "sort": 10, 
          "tags": "lib,tensorflow-cpu"
        }
      }, 
      "run_time": {
        "fine_grain_timer_file": "tmp-ck-timer.json", 
        "run_cmd_main": "$<>$ $#dataset_path#$$#dataset_filename#$ --batch_size=$<>$ --num_batches=$<>$", 
        "run_output_files": [
          "stderr.log", 
          "stderr2.log", 
          "tmp-ck-timer.json"
        ]
      }
    }, 
    "time_cuda": {
      "dataset_tags": [
        "benchmark", 
        "tensorflow", 
        "dataset", 
        "vcuda"
      ], 
      "ignore_return_code": "no", 
      "run_deps": {
        "lib-tensorflow": {
          "local": "yes", 
          "name": "TensorFlow library", 
          "skip_pruning_by_other_deps": "yes", 
          "sort": 10, 
          "tags": "lib,tensorflow-cuda"
        }
      }, 
      "run_time": {
        "fine_grain_timer_file": "tmp-ck-timer.json", 
        "run_cmd_main": "$<>$ $#dataset_path#$$#dataset_filename#$ --batch_size=$<>$ --num_batches=$<>$", 
        "run_output_files": [
          "stderr.log", 
          "stderr2.log", 
          "tmp-ck-timer.json"
        ]
      }
    }
  }, 
  "run_vars": {
    "BATCH_SIZE": 5, 
    "NUM_BATCHES": 5
  }, 
  "tags": [
    "tensorflow-classification", 
    "ck-ai-image-classification", 
    "demo"
  ]
}

API desc:
{}

If you notice copyrighted, inappropriate or illegal content that should not be here, please report us as soon as possible and we will try to remove it within 48hours!

Developed by dividiti,
cTuning foundation,
and the community
          
Implemented as a CK workflow
                     
   
   
                      Hosted at