Skip to content

Commit 3fd7e09

Browse files
authored
Feat: Multi-label support (#320)
* fix doc and add multilabel * pump version * change descr as well * access safely
1 parent e6829fe commit 3fd7e09

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from roboflow.models import CLIPModel, GazeModel # noqa: F401
1616
from roboflow.util.general import write_line
1717

18-
__version__ = "1.1.43"
18+
__version__ = "1.1.44"
1919

2020

2121
def check_key(api_key, model, notebook, num_retries=0):

roboflow/core/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] =
4444
4545
Args:
4646
api_key (str): private roboflow api key
47-
a_project (str): the project id
47+
a_project (dict): the project information dictionary
4848
model_format (str): the model format of the project
4949
5050
Example:
@@ -67,6 +67,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] =
6767
self.public = a_project["public"]
6868
self.splits = a_project["splits"]
6969
self.type = a_project["type"]
70+
self.multilabel = a_project.get("multilabel", False)
7071
self.unannotated = a_project["unannotated"]
7172
self.updated = datetime.datetime.fromtimestamp(a_project["updated"])
7273
self.model_format = model_format

0 commit comments

Comments
 (0)