From 157b94520fe30b59d53b4d42a669dccc25d9b417 Mon Sep 17 00:00:00 2001 From: sylvain-morin Date: Thu, 15 Feb 2024 12:30:32 +0100 Subject: [PATCH] Test --- lib/inat_vision_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/inat_vision_api.py b/lib/inat_vision_api.py index 0723c6a..b2f0303 100644 --- a/lib/inat_vision_api.py +++ b/lib/inat_vision_api.py @@ -88,7 +88,7 @@ def bench_route(self): form.aggregated.data = "false" form.geomodel.data = "true" geomodel = form.geomodel.data - + print("TIME-EXP: score " + observation_id) START_TIME_TOTAL = time.time() image_uuid = "downloaded-obs-" + observation_id @@ -102,7 +102,7 @@ def bench_route(self): END_TIME_TOTAL = time.time() self.inferrer.TIME_TOTAL = self.inferrer.TIME_TOTAL + (END_TIME_TOTAL - START_TIME_TOTAL) print("TIME-EXP: TIME_TOTAL "+str(self.inferrer.TIME_TOTAL)) - ALL_SCORES = ALL_SCORES + "\n" + scores + ALL_SCORES = ALL_SCORES + "\n" + str( scores ) result = "TOTAL = " + str(self.inferrer.TIME_TOTAL) + "\n" + \ "DOWNLOAD = " + str(self.inferrer.TIME_DOWNLOAD) + "\n" + \