intellif-aihub 0.1.18__py3-none-any.whl → 0.1.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of intellif-aihub might be problematic. Click here for more details.
- aihub/__init__.py +1 -1
- aihub/models/labelfree.py +20 -0
- aihub/models/task_center.py +2 -2
- {intellif_aihub-0.1.18.dist-info → intellif_aihub-0.1.19.dist-info}/METADATA +1 -1
- {intellif_aihub-0.1.18.dist-info → intellif_aihub-0.1.19.dist-info}/RECORD +8 -8
- {intellif_aihub-0.1.18.dist-info → intellif_aihub-0.1.19.dist-info}/WHEEL +0 -0
- {intellif_aihub-0.1.18.dist-info → intellif_aihub-0.1.19.dist-info}/licenses/LICENSE +0 -0
- {intellif_aihub-0.1.18.dist-info → intellif_aihub-0.1.19.dist-info}/top_level.txt +0 -0
aihub/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.19"
|
aihub/models/labelfree.py
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
from enum import Enum
|
|
3
4
|
from typing import Optional
|
|
4
5
|
|
|
5
6
|
from pydantic import BaseModel, Field
|
|
6
7
|
|
|
7
8
|
|
|
9
|
+
class LabelProjectStatus(Enum):
|
|
10
|
+
"""标注状态"""
|
|
11
|
+
|
|
12
|
+
Pending = "pending"
|
|
13
|
+
"""未开始"""
|
|
14
|
+
Loading = "loading"
|
|
15
|
+
"""数据读取中"""
|
|
16
|
+
Error = "failed"
|
|
17
|
+
"""数据读取异常"""
|
|
18
|
+
In_Progress = "ready"
|
|
19
|
+
"""进行中"""
|
|
20
|
+
Finished = "finished"
|
|
21
|
+
"""标注完成"""
|
|
22
|
+
|
|
23
|
+
|
|
8
24
|
class Stats(BaseModel):
|
|
9
25
|
"""标注统计信息"""
|
|
26
|
+
|
|
10
27
|
total_annotations: int = Field(alias="total_annotations", description="总数据量")
|
|
11
28
|
labeled_annotations: int = Field(alias="labeled_annotations", description="已标注数据量")
|
|
12
29
|
total_labels: int = Field(alias="total_labels", description="总标签量")
|
|
@@ -19,9 +36,12 @@ class Stats(BaseModel):
|
|
|
19
36
|
|
|
20
37
|
class GetGlobalStatsResponse(BaseModel):
|
|
21
38
|
"""标注统计概况"""
|
|
39
|
+
|
|
22
40
|
global_stats: Stats = Field(alias="global_stats")
|
|
23
41
|
valid_ten_percent: bool = Field(alias="valid_ten_percent", description="是否完成验收10%")
|
|
24
42
|
valid_fifty_percent: bool = Field(alias="valid_fifty_percent", description="是否完成验收50%")
|
|
25
43
|
valid_hundred_percent: bool = Field(alias="valid_hundred_percent", description="是否完成验收100%")
|
|
26
44
|
data_exported_count: int = Field(alias="data_exported_count", description="已导出数据次数")
|
|
27
45
|
exported_dataset_name: str = Field(alias="exported_dataset_name", description="最新数据集名称")
|
|
46
|
+
status: LabelProjectStatus = Field(description="状态")
|
|
47
|
+
model_config = {"use_enum_values": True}
|
aihub/models/task_center.py
CHANGED
|
@@ -138,8 +138,8 @@ class LabelValidateStage(Enum):
|
|
|
138
138
|
"""10%阶段"""
|
|
139
139
|
FIFTY_PERCENT = "标注阶段(50%)"
|
|
140
140
|
"""50%阶段"""
|
|
141
|
-
|
|
142
|
-
"""
|
|
141
|
+
LABEL_FINISHED = "标注阶段(100%)"
|
|
142
|
+
"""标注完成"""
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
class LabelValidateReq(BaseModel):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aihub/__init__.py,sha256=
|
|
1
|
+
aihub/__init__.py,sha256=cAJAbAh288a9AL-3yxwFzEM1L26izSJ6wma5aiml_9Y,23
|
|
2
2
|
aihub/client.py,sha256=Fu3jlEy21T4nJDV5EXTDujy1_B3Pf6CSTyPwkj3PPuE,5574
|
|
3
3
|
aihub/exceptions.py,sha256=l2cMAvipTqQOio3o11fXsCCSCevbuK4PTsxofkobFjk,500
|
|
4
4
|
aihub/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -8,12 +8,12 @@ aihub/models/data_warehouse.py,sha256=zXvWwg7ySoFJMdqQ_1UMTNEKDMhu1hDHlWdBAXdizB
|
|
|
8
8
|
aihub/models/dataset_management.py,sha256=4DuQ0zM7jv73SJiqvieHLtn2Y-T6FIFV9r7bgzyCtDo,10790
|
|
9
9
|
aihub/models/document_center.py,sha256=od9bzx6krAS6ktIA-ChxeqGcch0v2wsS1flY2vuHXBc,1340
|
|
10
10
|
aihub/models/eval.py,sha256=4Gon4Sg4dOkyCx3KH2mO5ip3AhrBwrPC0UZA447HeoQ,910
|
|
11
|
-
aihub/models/labelfree.py,sha256=
|
|
11
|
+
aihub/models/labelfree.py,sha256=YUnUv0tjYSFAFzYtmbnLOha8rnDe32sb50HkPOclAzU,2016
|
|
12
12
|
aihub/models/model_center.py,sha256=DNMchrN0pYDcTMHApWNNVMrARF_i9Ng5xlAwHX5isYw,5935
|
|
13
13
|
aihub/models/model_training_platform.py,sha256=2zir5i-XvuxKKVYr4wuNYUC7nwMzetdtCRoysZ1W_Tc,11725
|
|
14
14
|
aihub/models/quota_schedule_management.py,sha256=LdXwKkpJd0jUFSHtTHUlFLlH-NUSmgywWtxwFg57CNk,12368
|
|
15
15
|
aihub/models/tag_resource_management.py,sha256=-FgiKyDIG7bZagzVRf-8rXWuqH9GyciDadxz5W2f3I8,2195
|
|
16
|
-
aihub/models/task_center.py,sha256=
|
|
16
|
+
aihub/models/task_center.py,sha256=rGCvrkDjHLLBQ46DtDA7UAJ4eBQ0jwxpQmSB1z3UHmw,6135
|
|
17
17
|
aihub/models/user_system.py,sha256=58f4w5g_SHUhX4vvJK6RXChCr6IDjX4i957suWYaxg8,12249
|
|
18
18
|
aihub/models/workflow_center.py,sha256=4xtI1WZ38ceXJ8gwDBj-QNjOiRlLO_8kGiQybdudJPY,20121
|
|
19
19
|
aihub/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -36,8 +36,8 @@ aihub/utils/di.py,sha256=vFUzno5WbRKu6-pj8Hnz9IqT7xb9UDZQ4qpOFH1YAtM,11812
|
|
|
36
36
|
aihub/utils/download.py,sha256=ZZVbcC-PnN3PumV7ZiJ_-srkt4HPPovu2F6Faa2RrPE,1830
|
|
37
37
|
aihub/utils/http.py,sha256=AmfHHNjptuuSFx2T1twWCnerR_hLN_gd0lUs8z36ERA,547
|
|
38
38
|
aihub/utils/s3.py,sha256=ISIBP-XdBPkURpXnN56ZnIWokOOg2SRUh_qvxJk-G1Q,2187
|
|
39
|
-
intellif_aihub-0.1.
|
|
40
|
-
intellif_aihub-0.1.
|
|
41
|
-
intellif_aihub-0.1.
|
|
42
|
-
intellif_aihub-0.1.
|
|
43
|
-
intellif_aihub-0.1.
|
|
39
|
+
intellif_aihub-0.1.19.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
40
|
+
intellif_aihub-0.1.19.dist-info/METADATA,sha256=UOW5k_V7vETeUP9e1Jqb9_Bgzdr2Tfqdkto-BH3XhyQ,2949
|
|
41
|
+
intellif_aihub-0.1.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
42
|
+
intellif_aihub-0.1.19.dist-info/top_level.txt,sha256=vIvTtSIN73xv46BpYM-ctVGnyOiUQ9EWP_6ngvdIlvw,6
|
|
43
|
+
intellif_aihub-0.1.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|