Skip to content

Commit 867b14f

Browse files
committed
Use consensus, benchmark if available
1 parent 19b4c55 commit 867b14f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

superannotate/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@
1717
)
1818
from .api import API as _API
1919
from .common import image_path_to_annotation_paths
20-
# from .consensus_benchmark.benchmark import benchmark
21-
# from .consensus_benchmark.consensus import consensus
20+
21+
try:
22+
from .consensus_benchmark.benchmark import benchmark
23+
from .consensus_benchmark.consensus import consensus
24+
except:
25+
pass
26+
2227
from .dataframe_filtering import (
2328
filter_annotation_instances, filter_images_by_comments,
2429
filter_images_by_tags

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.5.7"
1+
__version__ = "2.5.8"

0 commit comments

Comments
 (0)