"official/nlp/bert/run_classifier.py" did not exist on "8155eb9dbbd487d063458de0dd3de26541d06196"
Commit 424b58b4 authored by Paul's avatar Paul
Browse files

Catch exception

parent 19bf60bd
......@@ -44,6 +44,7 @@ def get_device_time(s):
def benchmark_ck(config, tuning):
try:
b = {
'settings': {
'iterations': 100
......@@ -59,6 +60,7 @@ def benchmark_ck(config, tuning):
dtime = get_device_time(line)
print(dtime)
return dtime
finally:
return sys.float_info.max
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment