Commit e1669e29 authored by 张彦钊's avatar 张彦钊

fix timecost unit

parent 6a65f4ae
...@@ -101,7 +101,6 @@ if __name__ == "__main__": ...@@ -101,7 +101,6 @@ if __name__ == "__main__":
router(device_id) router(device_id)
end = time.time() end = time.time()
# 将秒转化为毫秒 time_cost = (end - start)
time_cost = (end - start)*1000 print("预测耗时{}秒".format(time_cost))
print("预测耗时{}毫秒".format(time_cost))
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