Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin committed Feb 15, 2024
1 parent a84d590 commit 157b945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/inat_vision_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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" + \
Expand Down

0 comments on commit 157b945

Please sign in to comment.