Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
bf5186b0
Unverified
Commit
bf5186b0
authored
Mar 14, 2018
by
Qianli Scott Zhu
Committed by
GitHub
Mar 14, 2018
Browse files
Merge pull request #3585 from qlzh727/benchmark-schema
Add data schema for the benchmark run in Bigquery.
parents
f56363ef
7da439b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
380 additions
and
0 deletions
+380
-0
official/benchmark/datastore/schema/benchmark_metric.json
official/benchmark/datastore/schema/benchmark_metric.json
+56
-0
official/benchmark/datastore/schema/benchmark_run.json
official/benchmark/datastore/schema/benchmark_run.json
+324
-0
No files found.
official/benchmark/datastore/schema/benchmark_metric.json
0 → 100644
View file @
bf5186b0
[
{
"description"
:
"The ID of the benchmark run, where this metric should tie to."
,
"mode"
:
"REQUIRED"
,
"name"
:
"run_id"
,
"type"
:
"STRING"
},
{
"description"
:
"The name of the metric, which should be descriptive. E.g. training_loss, accuracy."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The unit of the metric. E.g. MB per sec."
,
"mode"
:
"NULLABLE"
,
"name"
:
"unit"
,
"type"
:
"STRING"
},
{
"description"
:
"The value of the metric."
,
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"FLOAT"
},
{
"description"
:
"The timestamp when the metric is recorded."
,
"mode"
:
"REQUIRED"
,
"name"
:
"timestamp"
,
"type"
:
"TIMESTAMP"
},
{
"description"
:
"The global step when this metric is recorded."
,
"mode"
:
"NULLABLE"
,
"name"
:
"global_step"
,
"type"
:
"INTEGER"
},
{
"description"
:
"Free format metadata for the extra information about the metric."
,
"mode"
:
"REPEATED"
,
"name"
:
"extras"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"mode"
:
"NULLABLE"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"STRING"
}
]
}
]
official/benchmark/datastore/schema/benchmark_run.json
0 → 100644
View file @
bf5186b0
[
{
"description"
:
"The UUID of the run for the benchmark."
,
"mode"
:
"REQUIRED"
,
"name"
:
"model_id"
,
"type"
:
"STRING"
},
{
"description"
:
"The name of the model, E.g ResNet50, LeNet-5 etc."
,
"mode"
:
"REQUIRED"
,
"name"
:
"model_name"
,
"type"
:
"STRING"
},
{
"description"
:
"The date when the test of the model is started"
,
"mode"
:
"REQUIRED"
,
"name"
:
"run_date"
,
"type"
:
"DATETIME"
},
{
"description"
:
"The tensorflow version information."
,
"fields"
:
[
{
"description"
:
"Version of the tensorflow. E.g. 1.7.0-rc0"
,
"mode"
:
"REQUIRED"
,
"name"
:
"version"
,
"type"
:
"STRING"
},
{
"description"
:
"Git Hash of the tensorflow"
,
"mode"
:
"NULLABLE"
,
"name"
:
"git_hash"
,
"type"
:
"STRING"
}
],
"mode"
:
"REQUIRED"
,
"name"
:
"tensorflow_version"
,
"type"
:
"RECORD"
},
{
"description"
:
"The arbitrary attribute of the model."
,
"fields"
:
[
{
"description"
:
"The name of the attribute."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The value of the attribute."
,
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"STRING"
}
],
"mode"
:
"REPEATED"
,
"name"
:
"attribute"
,
"type"
:
"RECORD"
},
{
"description"
:
"Enviornment variables when the benchmark run is executed."
,
"fields"
:
[
{
"description"
:
"The name of the variable."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The value of the variable."
,
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"STRING"
}
],
"mode"
:
"REPEATED"
,
"name"
:
"enviornment_variable"
,
"type"
:
"RECORD"
},
{
"description"
:
"The list of hyperparameters of the model."
,
"fields"
:
[
{
"description"
:
"The name of the hyperparameter."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The string value of the hyperparameter."
,
"mode"
:
"NULLABLE"
,
"name"
:
"string_value"
,
"type"
:
"STRING"
},
{
"description"
:
"The bool value of the hyperparameter."
,
"mode"
:
"NULLABLE"
,
"name"
:
"bool_value"
,
"type"
:
"STRING"
},
{
"description"
:
"The int/long value of the hyperparameter."
,
"mode"
:
"NULLABLE"
,
"name"
:
"long_value"
,
"type"
:
"INTEGER"
},
{
"description"
:
"The double/float value of hyperparameter."
,
"mode"
:
"NULLABLE"
,
"name"
:
"float_value"
,
"type"
:
"FLOAT"
}
],
"mode"
:
"REPEATED"
,
"name"
:
"hyperparameter"
,
"type"
:
"RECORD"
},
{
"description"
:
"The dataset that run with the benchmark."
,
"mode"
:
"NULLABLE"
,
"name"
:
"dataset"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"description"
:
"The name of the dataset that the model is trained/validated with. E.g ImageNet, mnist."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The arbitrary attribute of the dataset."
,
"fields"
:
[
{
"description"
:
"The name of the attribute."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The value of the attribute."
,
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"STRING"
}
],
"mode"
:
"REPEATED"
,
"name"
:
"attribute"
,
"type"
:
"RECORD"
}
]
},
{
"description"
:
"The machine configuration of the benchmark run."
,
"mode"
:
"NULLABLE"
,
"name"
:
"machine_config"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"description"
:
"The platform information of the benchmark run."
,
"mode"
:
"NULLABLE"
,
"name"
:
"platform_info"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"description"
:
"Eg: 64bit."
,
"mode"
:
"NULLABLE"
,
"name"
:
"bits"
,
"type"
:
"STRING"
},
{
"description"
:
"Eg: ELF."
,
"mode"
:
"NULLABLE"
,
"name"
:
"linkage"
,
"type"
:
"STRING"
},
{
"description"
:
"Eg: i386."
,
"mode"
:
"NULLABLE"
,
"name"
:
"machine"
,
"type"
:
"STRING"
},
{
"description"
:
"Eg: 3.13.0-76-generic."
,
"mode"
:
"NULLABLE"
,
"name"
:
"release"
,
"type"
:
"STRING"
},
{
"description"
:
"Eg: Linux."
,
"mode"
:
"NULLABLE"
,
"name"
:
"system"
,
"type"
:
"STRING"
},
{
"description"
:
"Eg: #120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016."
,
"mode"
:
"NULLABLE"
,
"name"
:
"version"
,
"type"
:
"STRING"
}
]
},
{
"description"
:
"The CPU information of the benchmark run."
,
"mode"
:
"NULLABLE"
,
"name"
:
"cpu_info"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"mode"
:
"NULLABLE"
,
"name"
:
"num_cores"
,
"type"
:
"INTEGER"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"num_cores_allowed"
,
"type"
:
"INTEGER"
},
{
"description"
:
"How fast are those CPUs."
,
"mode"
:
"NULLABLE"
,
"name"
:
"mhz_per_cpu"
,
"type"
:
"FLOAT"
},
{
"description"
:
"Additional CPU info, Eg: Intel Ivybridge with HyperThreading (24 cores)."
,
"mode"
:
"NULLABLE"
,
"name"
:
"cpu_info"
,
"type"
:
"STRING"
},
{
"description"
:
"What kind of cpu scaling is enabled on the host. Eg performance, ondemand, conservative, mixed."
,
"mode"
:
"NULLABLE"
,
"name"
:
"cpu_governor"
,
"type"
:
"STRING"
},
{
"description"
:
"Cache size of the CPUs."
,
"mode"
:
"NULLABLE"
,
"name"
:
"cache_size"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"mode"
:
"NULLABLE"
,
"name"
:
"level"
,
"type"
:
"STRING"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"size"
,
"type"
:
"INTEGER"
}
]
}
]
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"gpu_info"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"mode"
:
"NULLABLE"
,
"name"
:
"count"
,
"type"
:
"INTEGER"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"model"
,
"type"
:
"STRING"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"cuda_version"
,
"type"
:
"STRING"
}
]
},
{
"description"
:
"The cloud instance inforation if the benchmark run is executed on cloud"
,
"mode"
:
"NULLABLE"
,
"name"
:
"cloud_info"
,
"type"
:
"RECORD"
,
"fields"
:
[
{
"description"
:
"The instance type, E.g. n1-standard-4."
,
"mode"
:
"NULLABLE"
,
"name"
:
"instance_type"
,
"type"
:
"STRING"
},
{
"description"
:
"The arbitrary attribute of the cloud info."
,
"fields"
:
[
{
"description"
:
"The name of the attribute."
,
"mode"
:
"REQUIRED"
,
"name"
:
"name"
,
"type"
:
"STRING"
},
{
"description"
:
"The value of the attribute."
,
"mode"
:
"NULLABLE"
,
"name"
:
"value"
,
"type"
:
"STRING"
}
],
"mode"
:
"REPEATED"
,
"name"
:
"attribute"
,
"type"
:
"RECORD"
}
]
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"memory_total"
,
"type"
:
"INTEGER"
},
{
"mode"
:
"NULLABLE"
,
"name"
:
"memory_available"
,
"type"
:
"STRING"
}
]
}
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment