Commit b1c603f0 authored by 赵威's avatar 赵威

update number

parent 757dd647
...@@ -94,7 +94,7 @@ def main(): ...@@ -94,7 +94,7 @@ def main():
for i in range(5): for i in range(5):
time_1 = timeit.default_timer() time_1 = timeit.default_timer()
model_predict2(random.sample(device_ids, 1)[0], random.sample(diary_ids, 300), device_dict, diary_dict, predict_fn) model_predict2(random.sample(device_ids, 1)[0], random.sample(diary_ids, 200), device_dict, diary_dict, predict_fn)
total_1 = (timeit.default_timer() - time_1) total_1 = (timeit.default_timer() - time_1)
print("total prediction cost {:.5f}s".format(total_1), "\n") print("total prediction cost {:.5f}s".format(total_1), "\n")
......
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