dtlpy 1.114.14__py3-none-any.whl → 1.114.16__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.
- dtlpy/__version__.py +1 -1
- dtlpy/ml/base_model_adapter.py +3 -3
- dtlpy/repositories/tasks.py +30 -30
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/METADATA +1 -1
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/RECORD +12 -12
- {dtlpy-1.114.14.data → dtlpy-1.114.16.data}/scripts/dlp +0 -0
- {dtlpy-1.114.14.data → dtlpy-1.114.16.data}/scripts/dlp.bat +0 -0
- {dtlpy-1.114.14.data → dtlpy-1.114.16.data}/scripts/dlp.py +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/WHEEL +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/entry_points.txt +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/licenses/LICENSE +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.16.dist-info}/top_level.txt +0 -0
dtlpy/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.114.
|
|
1
|
+
version = '1.114.16'
|
dtlpy/ml/base_model_adapter.py
CHANGED
|
@@ -50,7 +50,7 @@ class ModelConfigurations(MutableMapping):
|
|
|
50
50
|
|
|
51
51
|
def _update_model_entity(self):
|
|
52
52
|
if self._base_model_adapter is not None and self._base_model_adapter.model_entity is not None:
|
|
53
|
-
self._base_model_adapter.model_entity.update()
|
|
53
|
+
self._base_model_adapter.model_entity.update(reload_services=False)
|
|
54
54
|
|
|
55
55
|
def __ior__(self, other):
|
|
56
56
|
self.update(other)
|
|
@@ -793,7 +793,7 @@ class BaseModelAdapter(utilities.BaseServiceRunner):
|
|
|
793
793
|
if context is not None:
|
|
794
794
|
if 'system' not in model.metadata:
|
|
795
795
|
model.metadata['system'] = dict()
|
|
796
|
-
model.update()
|
|
796
|
+
model.update(reload_services=False)
|
|
797
797
|
|
|
798
798
|
##########################
|
|
799
799
|
# load model and weights #
|
|
@@ -828,7 +828,7 @@ class BaseModelAdapter(utilities.BaseServiceRunner):
|
|
|
828
828
|
|
|
829
829
|
self.save_to_model(local_path=output_path, replace=True)
|
|
830
830
|
model.status = 'trained'
|
|
831
|
-
model.update()
|
|
831
|
+
model.update(reload_services=False)
|
|
832
832
|
###########
|
|
833
833
|
# cleanup #
|
|
834
834
|
###########
|
dtlpy/repositories/tasks.py
CHANGED
|
@@ -127,7 +127,7 @@ class Tasks:
|
|
|
127
127
|
if self._project_id is not None:
|
|
128
128
|
project_ids = self._project_id
|
|
129
129
|
else:
|
|
130
|
-
|
|
130
|
+
project_ids = self.project.id
|
|
131
131
|
|
|
132
132
|
if not isinstance(project_ids, list):
|
|
133
133
|
project_ids = [project_ids]
|
|
@@ -219,7 +219,7 @@ class Tasks:
|
|
|
219
219
|
elif self._project_id is not None:
|
|
220
220
|
project_ids = [self._project_id]
|
|
221
221
|
else:
|
|
222
|
-
|
|
222
|
+
project_ids = [self.project.id]
|
|
223
223
|
filters.context = {"projectIds": project_ids}
|
|
224
224
|
|
|
225
225
|
if assignments is not None:
|
|
@@ -950,34 +950,34 @@ class Tasks:
|
|
|
950
950
|
@_api_reference.add(path="/annotationtasks", method="post")
|
|
951
951
|
def create(
|
|
952
952
|
self,
|
|
953
|
-
task_name,
|
|
954
|
-
due_date=None,
|
|
955
|
-
assignee_ids=None,
|
|
953
|
+
task_name,
|
|
954
|
+
due_date=None,
|
|
955
|
+
assignee_ids=None,
|
|
956
956
|
workload=None,
|
|
957
|
-
dataset=None,
|
|
958
|
-
task_owner=None,
|
|
959
|
-
task_type="annotation",
|
|
960
|
-
task_parent_id=None,
|
|
961
|
-
project_id=None,
|
|
962
|
-
recipe_id=None,
|
|
963
|
-
assignments_ids=None,
|
|
964
|
-
metadata=None,
|
|
965
|
-
filters=None,
|
|
966
|
-
items=None,
|
|
967
|
-
query=None,
|
|
968
|
-
available_actions=None,
|
|
969
|
-
wait=True,
|
|
970
|
-
check_if_exist: entities.Filters = False,
|
|
971
|
-
limit=None,
|
|
972
|
-
batch_size=None,
|
|
973
|
-
max_batch_workload=None,
|
|
974
|
-
allowed_assignees=None,
|
|
975
|
-
priority=entities.TaskPriority.MEDIUM,
|
|
976
|
-
consensus_task_type=None,
|
|
977
|
-
consensus_percentage=None,
|
|
978
|
-
consensus_assignees=None,
|
|
979
|
-
scoring=True,
|
|
980
|
-
enforce_video_conversion=True,
|
|
957
|
+
dataset=None,
|
|
958
|
+
task_owner=None,
|
|
959
|
+
task_type="annotation",
|
|
960
|
+
task_parent_id=None,
|
|
961
|
+
project_id=None,
|
|
962
|
+
recipe_id=None,
|
|
963
|
+
assignments_ids=None,
|
|
964
|
+
metadata=None,
|
|
965
|
+
filters=None,
|
|
966
|
+
items=None,
|
|
967
|
+
query=None,
|
|
968
|
+
available_actions=None,
|
|
969
|
+
wait=True,
|
|
970
|
+
check_if_exist: entities.Filters = False,
|
|
971
|
+
limit=None,
|
|
972
|
+
batch_size=None,
|
|
973
|
+
max_batch_workload=None,
|
|
974
|
+
allowed_assignees=None,
|
|
975
|
+
priority=entities.TaskPriority.MEDIUM,
|
|
976
|
+
consensus_task_type=None,
|
|
977
|
+
consensus_percentage=None,
|
|
978
|
+
consensus_assignees=None,
|
|
979
|
+
scoring=True,
|
|
980
|
+
enforce_video_conversion=True,
|
|
981
981
|
) -> entities.Task:
|
|
982
982
|
"""
|
|
983
983
|
Create a new Task (Annotation or QA).
|
|
@@ -1069,7 +1069,7 @@ class Tasks:
|
|
|
1069
1069
|
if self._project_id is not None:
|
|
1070
1070
|
project_id = self._project_id
|
|
1071
1071
|
else:
|
|
1072
|
-
|
|
1072
|
+
project_id = self.project.id
|
|
1073
1073
|
|
|
1074
1074
|
if workload is None and assignee_ids is not None:
|
|
1075
1075
|
workload = entities.Workload.generate(assignee_ids=assignee_ids)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dtlpy/__init__.py,sha256=Kpyd5B6_bVW7O2l5EPnFxXJzHiobRvFbIUDeYT7kvh0,21054
|
|
2
|
-
dtlpy/__version__.py,sha256=
|
|
2
|
+
dtlpy/__version__.py,sha256=6L6Mo8Hr0v7vYJ0QSzWMe3Sgci6RZ5XvXBcZALddlDs,22
|
|
3
3
|
dtlpy/exceptions.py,sha256=3-QaX1marJ1oCNNnEgnvqPlhHq8mVKjufI157pzxGZU,2996
|
|
4
4
|
dtlpy/new_instance.py,sha256=6M2jZrQ6E9zfef4HOthiC9jzpQsRaLrOLu0IKw0yg0I,10234
|
|
5
5
|
dtlpy/assets/__init__.py,sha256=AzcOoxymAF5O2ujLGtBIXWcA_AZx20Z0BzKLQsQWw94,1002
|
|
@@ -150,7 +150,7 @@ dtlpy/miscellaneous/list_print.py,sha256=oUSBNVaroekOIRaXjWeTVQxSifMhsmPPxzZbSPE
|
|
|
150
150
|
dtlpy/miscellaneous/zipping.py,sha256=-UeVNFTzF7iLo87QpISBLL1sZHnl0p5zrNmzharobd4,5513
|
|
151
151
|
dtlpy/ml/__init__.py,sha256=coDyt1yOZrmc3FIFPnQ_GGUVtcr2U1OqBAcP2u8p63U,819
|
|
152
152
|
dtlpy/ml/base_feature_extractor_adapter.py,sha256=V6dE9O3JRp2f6Xw0GO09mwdJFdW88Fu6_MsPXQ9m58g,1205
|
|
153
|
-
dtlpy/ml/base_model_adapter.py,sha256=
|
|
153
|
+
dtlpy/ml/base_model_adapter.py,sha256=23_kaSbu0knX46ButQAOEPn8pgj5FcBpFxoD8JdKLlI,58275
|
|
154
154
|
dtlpy/ml/metrics.py,sha256=CEavVQ9FoF_iHHaQCs2tPOdA2QvRvVSY11by4wIpeyA,20498
|
|
155
155
|
dtlpy/ml/predictions_utils.py,sha256=eNUaReXLDCex1y1TAxuFfQV_sCGk4iT77UJFMHMw6zI,12758
|
|
156
156
|
dtlpy/ml/summary_writer.py,sha256=JuFlqJsUqTBfLlRI1HtffiJA5tcCqDbarAKuoRPnZew,2841
|
|
@@ -191,7 +191,7 @@ dtlpy/repositories/schema.py,sha256=QGFv7JZ3qJRbBpvR8VxLniyMHqpBbzAju863r0-Mf7k,
|
|
|
191
191
|
dtlpy/repositories/service_drivers.py,sha256=O4KWOqSlkXPUy9I7I7VzHU_h4CtYJQ_y_JCvMzs7qsI,6979
|
|
192
192
|
dtlpy/repositories/services.py,sha256=0EQfEOMFNyqh3Yp93FigNMh2q_pjPQTthANM9mNTZrY,70560
|
|
193
193
|
dtlpy/repositories/settings.py,sha256=o9QDQRf5DIHTzHQ0M9GGPqI5d4CLSP5jMEzHL_z7M3g,11984
|
|
194
|
-
dtlpy/repositories/tasks.py,sha256=
|
|
194
|
+
dtlpy/repositories/tasks.py,sha256=UTHute3TJhI5WzXULHfHkuqSZvn0ZEdHrXmc1U6S1pM,64834
|
|
195
195
|
dtlpy/repositories/times_series.py,sha256=xpbs3H3FTUolPy157xxOSlI7KHfqATtENVOGMhGw5KM,11698
|
|
196
196
|
dtlpy/repositories/triggers.py,sha256=_eMVkmdOnS_5XeqbGGOSmXsesuHlC6mnslelljZjMJY,22526
|
|
197
197
|
dtlpy/repositories/upload_element.py,sha256=nf8yz0NBHpla8Irn6fIbxrD00qXcNfNTmpvKOVmSRjs,10934
|
|
@@ -227,14 +227,14 @@ dtlpy/utilities/reports/report.py,sha256=zer2AqDmmuuu_A31TjHI9yS4RnjAlIeQZ5xWzOM
|
|
|
227
227
|
dtlpy/utilities/videos/__init__.py,sha256=erjgtnnSJYk3k9j4PGzJwu3Ohv7H7DMnKySvJUQoaQs,751
|
|
228
228
|
dtlpy/utilities/videos/video_player.py,sha256=KJiMcrGo17qwaSnOF-SsccAR8BVChC_HMgTV6zW1bJ8,24670
|
|
229
229
|
dtlpy/utilities/videos/videos.py,sha256=PjPx_2hwAxctoz96XBd407ds8JZpzur4Z54rtJlVO-8,22345
|
|
230
|
-
dtlpy-1.114.
|
|
231
|
-
dtlpy-1.114.
|
|
232
|
-
dtlpy-1.114.
|
|
233
|
-
dtlpy-1.114.
|
|
230
|
+
dtlpy-1.114.16.data/scripts/dlp,sha256=R99eKZP_pZ7egsYawtuw2lRL_6b0P7spq7JpGAY3H7Y,11
|
|
231
|
+
dtlpy-1.114.16.data/scripts/dlp.bat,sha256=2V2sDEhvV2Tm7nMoyFdIxo5ODq-msgt9LJesLoPVmX0,38
|
|
232
|
+
dtlpy-1.114.16.data/scripts/dlp.py,sha256=sN0lxOiBmYOVijl1vCm3wkyr2TGas75AGaHV7pxt6oo,4521
|
|
233
|
+
dtlpy-1.114.16.dist-info/licenses/LICENSE,sha256=WtjCEwlcVzkh1ziO35P2qfVEkLjr87Flro7xlHz3CEY,11556
|
|
234
234
|
tests/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
235
235
|
tests/features/environment.py,sha256=FLJTz1dYMfeWauwRHED_weESoOKc_ZfcgvGiWoS2lYA,19484
|
|
236
|
-
dtlpy-1.114.
|
|
237
|
-
dtlpy-1.114.
|
|
238
|
-
dtlpy-1.114.
|
|
239
|
-
dtlpy-1.114.
|
|
240
|
-
dtlpy-1.114.
|
|
236
|
+
dtlpy-1.114.16.dist-info/METADATA,sha256=yFKYVsTI5C2cweTPUNfe7Br2KfISyqgUtR7g1zGZWEo,5823
|
|
237
|
+
dtlpy-1.114.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
238
|
+
dtlpy-1.114.16.dist-info/entry_points.txt,sha256=C4PyKthCs_no88HU39eioO68oei64STYXC2ooGZTc4Y,43
|
|
239
|
+
dtlpy-1.114.16.dist-info/top_level.txt,sha256=ZWuLmQGUOtWAdgTf4Fbx884w1o0vBYq9dEc1zLv9Mig,12
|
|
240
|
+
dtlpy-1.114.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|