Skip to content

Commit

Permalink
change imports
Browse files Browse the repository at this point in the history
  • Loading branch information
grokhi committed Jul 25, 2024
1 parent 21d8728 commit 883d39b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/supervisely/supervisely.git@model-benchmark-ars-before-merge-with-main-branch
ujson
ujson
git+https://github.com/supervisely/supervisely.git@model-benchmark-ars-before-merge-with-main-branch
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
# from src.ui.outcome_counts import plotly_outcome_counts
from supervisely._utils import camel_to_snake
from supervisely.app.widgets import *
from supervisely.nn.benchmark.object_detection_benchmark import ObjectDetectionBenchmark


def main_func(api: sly.Api):
project = api.project.get_info_by_id(g.project_id)

bm = sly.nn.ObjectDetectionBenchmark(api, project.id, output_dir=g.STORAGE_DIR + "/benchmark")
bm = ObjectDetectionBenchmark(api, project.id, output_dir=g.STORAGE_DIR + "/benchmark")
sly.logger.info("Session ID={}".format(g.session_id))
bm.run_evaluation(model_session=g.session_id)
# bm.evaluate(g.dt_project_id)
Expand Down

0 comments on commit 883d39b

Please sign in to comment.