Skip to content

Commit

Permalink
Feat: Multi-label support (#320)
Browse files Browse the repository at this point in the history
* fix doc and add multilabel

* pump version

* change descr as well

* access safely
  • Loading branch information
balthazur authored Aug 28, 2024
1 parent e6829fe commit 3fd7e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roboflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from roboflow.models import CLIPModel, GazeModel # noqa: F401
from roboflow.util.general import write_line

__version__ = "1.1.43"
__version__ = "1.1.44"


def check_key(api_key, model, notebook, num_retries=0):
Expand Down
3 changes: 2 additions & 1 deletion roboflow/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] =
Args:
api_key (str): private roboflow api key
a_project (str): the project id
a_project (dict): the project information dictionary
model_format (str): the model format of the project
Example:
Expand All @@ -67,6 +67,7 @@ def __init__(self, api_key: str, a_project: dict, model_format: Optional[str] =
self.public = a_project["public"]
self.splits = a_project["splits"]
self.type = a_project["type"]
self.multilabel = a_project.get("multilabel", False)
self.unannotated = a_project["unannotated"]
self.updated = datetime.datetime.fromtimestamp(a_project["updated"])
self.model_format = model_format
Expand Down

0 comments on commit 3fd7e09

Please sign in to comment.