denkproto 1.0.99__py3-none-any.whl → 1.0.101__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 denkproto might be problematic. Click here for more details.
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.101"
|
|
@@ -215,22 +215,26 @@ class Onnx:
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
class Snapshot:
|
|
218
|
+
id: UUID
|
|
218
219
|
onnx: Onnx
|
|
219
220
|
pytorch: Onnx
|
|
220
221
|
|
|
221
|
-
def __init__(self, onnx: Onnx, pytorch: Onnx) -> None:
|
|
222
|
+
def __init__(self, id: UUID, onnx: Onnx, pytorch: Onnx) -> None:
|
|
223
|
+
self.id = id
|
|
222
224
|
self.onnx = onnx
|
|
223
225
|
self.pytorch = pytorch
|
|
224
226
|
|
|
225
227
|
@staticmethod
|
|
226
228
|
def from_dict(obj: Any) -> 'Snapshot':
|
|
227
229
|
assert isinstance(obj, dict)
|
|
230
|
+
id = UUID(obj.get("id"))
|
|
228
231
|
onnx = Onnx.from_dict(obj.get("onnx"))
|
|
229
232
|
pytorch = Onnx.from_dict(obj.get("pytorch"))
|
|
230
|
-
return Snapshot(onnx, pytorch)
|
|
233
|
+
return Snapshot(id, onnx, pytorch)
|
|
231
234
|
|
|
232
235
|
def to_dict(self) -> dict:
|
|
233
236
|
result: dict = {}
|
|
237
|
+
result["id"] = str(self.id)
|
|
234
238
|
result["onnx"] = to_class(Onnx, self.onnx)
|
|
235
239
|
result["pytorch"] = to_class(Onnx, self.pytorch)
|
|
236
240
|
return result
|
|
@@ -4,7 +4,7 @@ denkproto/DENKbuffer_pb2_grpc.py,sha256=-CPJPM4FOqwvwV8-f1iJlD18UD9juVIIHfdWUecu
|
|
|
4
4
|
denkproto/ImageAnalysis_ProtobufMessages_pb2.py,sha256=iEY0j9ySGUThnqTdYD4uAVr9P3GiC5R02iK53zEOXUQ,21015
|
|
5
5
|
denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi,sha256=5LFtxrmYpJHizDDNGFTkL7-NQ_TkwqCSdq7vcv3lg-c,36243
|
|
6
6
|
denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py,sha256=l3agtDjgu4jay6P9TRnHhyhJ-7UdoII27ywhw3k84oo,911
|
|
7
|
-
denkproto/__about__.py,sha256
|
|
7
|
+
denkproto/__about__.py,sha256=-JAGcxMXlYmXxIBhBNrWOxNXuBXiT3oZZpfWOXsmQ_4,24
|
|
8
8
|
denkproto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
denkproto/denkcache_pb2.py,sha256=u0O26m7t4kfu4R1nx1ZcTst4n6pG32pMbhl2PGYivXE,7161
|
|
10
10
|
denkproto/denkcache_pb2.pyi,sha256=8K_Ebyy4mgXrxqJenN8f8LXLvVKOiaZxhmGeYjFZVpY,6357
|
|
@@ -32,8 +32,8 @@ denkproto/json/inference_graph_models_generated.py,sha256=GfsGk4bKbL8gyqOScA4x13
|
|
|
32
32
|
denkproto/json/object_detection_markup.py,sha256=T0hcFPq8F_galjDjRC9dbcRVwCSOYtu2jt9wpEeHlQs,4904
|
|
33
33
|
denkproto/json/ocr_markup.py,sha256=xZs321ZqOUPK-VzWhy3gKCdqt_EyKOs-6FbaJdSvEMQ,7824
|
|
34
34
|
denkproto/json/ocr_prediction_request.py,sha256=PXY_1hmPQcKpHHZyikMFG_S0HKiwbXtRv5oW5x1zHRM,17783
|
|
35
|
-
denkproto/json/prediction_request.py,sha256=
|
|
35
|
+
denkproto/json/prediction_request.py,sha256=u4CCZROJYSdnp8RLkO-ARgsY91lma5ba8_G0XPGYgIU,19011
|
|
36
36
|
denkproto/json/segmentation_markup.py,sha256=ZU2qYuN1IkZDCjAjr0vEn6nRVdZv24EwRYlmrGEzeVg,19841
|
|
37
|
-
denkproto-1.0.
|
|
38
|
-
denkproto-1.0.
|
|
39
|
-
denkproto-1.0.
|
|
37
|
+
denkproto-1.0.101.dist-info/METADATA,sha256=HqVIawJVUnnZTdujvFRTkrZPh_fcTwHhOV9Nk7bdc90,111
|
|
38
|
+
denkproto-1.0.101.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
39
|
+
denkproto-1.0.101.dist-info/RECORD,,
|
|
File without changes
|