leap-model-parser 0.1.234.dev0__py3-none-any.whl → 0.1.236__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.
- leap_model_parser/model_parser.py +0 -2
- leap_model_parser-0.1.236.dist-info/LICENSE +21 -0
- {leap_model_parser-0.1.234.dev0.dist-info → leap_model_parser-0.1.236.dist-info}/METADATA +4 -5
- {leap_model_parser-0.1.234.dev0.dist-info → leap_model_parser-0.1.236.dist-info}/RECORD +7 -6
- {leap_model_parser-0.1.234.dev0.dist-info → leap_model_parser-0.1.236.dist-info}/WHEEL +1 -1
- /leap_model_parser-0.1.234.dev0.dist-info/licenses/LICENSE → /LICENSE +0 -0
- {leap_model_parser-0.1.234.dev0.dist-info → leap_model_parser-0.1.236.dist-info}/entry_points.txt +0 -0
|
@@ -157,7 +157,6 @@ class ModelParser:
|
|
|
157
157
|
else:
|
|
158
158
|
raise e
|
|
159
159
|
|
|
160
|
-
|
|
161
160
|
def convert_h5_model(self, file_path: str) -> Tuple[Dict[str, Node], Model, Optional[str]]:
|
|
162
161
|
imported_model = self._load_keras_model_with_custom_layers(file_path)
|
|
163
162
|
return self.convert_to_keras_model(imported_model)
|
|
@@ -172,7 +171,6 @@ class ModelParser:
|
|
|
172
171
|
|
|
173
172
|
_orig_get_json_type = json_utils.get_json_type
|
|
174
173
|
|
|
175
|
-
|
|
176
174
|
def _patched_get_json_type(obj): # type: ignore
|
|
177
175
|
# Handle numpy dtype explicitly
|
|
178
176
|
if isinstance(obj, np.dtype):
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 TensorLeap
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: leap-model-parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.236
|
|
4
4
|
Summary:
|
|
5
|
+
Home-page: https://github.com/tensorleap/leap-model-parser
|
|
5
6
|
License: MIT
|
|
6
|
-
License-File: LICENSE
|
|
7
7
|
Author: idan
|
|
8
8
|
Author-email: idan.yogev@tensorleap.ai
|
|
9
9
|
Requires-Python: >=3.8,<3.11
|
|
@@ -17,11 +17,10 @@ Requires-Dist: keras-data-format-converter (==0.1.24)
|
|
|
17
17
|
Requires-Dist: leap-model-rebuilder (==0.1.7)
|
|
18
18
|
Requires-Dist: numpy (>=1.22.3,<2.0.0)
|
|
19
19
|
Requires-Dist: onnx (==1.13.0)
|
|
20
|
-
Requires-Dist: onnx2kerastl (==0.0.
|
|
20
|
+
Requires-Dist: onnx2kerastl (==0.0.183)
|
|
21
21
|
Requires-Dist: tensorflow (==2.12.0) ; platform_machine == "x86_64"
|
|
22
22
|
Requires-Dist: tensorflow-io-gcs-filesystem (==0.34.0)
|
|
23
23
|
Requires-Dist: tensorflow-macos (==2.12.0) ; platform_machine == "arm64"
|
|
24
|
-
Project-URL: Homepage, https://github.com/tensorleap/leap-model-parser
|
|
25
24
|
Project-URL: Repository, https://github.com/tensorleap/leap-model-parser
|
|
26
25
|
Description-Content-Type: text/markdown
|
|
27
26
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
|
1
2
|
leap_model_parser/__init__.py,sha256=OAU7rFHAVVWUM-cDtQ4Ohum567KN8M-YTkHZp5KiYbo,132
|
|
2
3
|
leap_model_parser/contract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
4
|
leap_model_parser/contract/graph.py,sha256=lbs_IUnlkvoVjiARBMJee-aNbqeNXNPsUeOEwQliKgU,1170
|
|
@@ -6,7 +7,7 @@ leap_model_parser/contract/nodedata.py,sha256=1_ML0nzp3QUZ0_9mGSLhfO4_hqjYMwi0DW
|
|
|
6
7
|
leap_model_parser/contract/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
|
|
7
8
|
leap_model_parser/keras_json_model_import.py,sha256=h9-eb41W67goutRV5c3VkStxvntgb6EmPFdPeshhtsY,17058
|
|
8
9
|
leap_model_parser/leap_graph_editor.py,sha256=s6iVO06xM6LJ8ZjSxkr1srYxsHhGl2KnQjQoc9g4_iE,14329
|
|
9
|
-
leap_model_parser/model_parser.py,sha256=
|
|
10
|
+
leap_model_parser/model_parser.py,sha256=fEE9cOBZUByU7V70yQr4BllPUYGmh4lPJjV7IDc4_K0,8508
|
|
10
11
|
leap_model_parser/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
12
|
leap_model_parser/utils/layerpedia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
13
|
leap_model_parser/utils/layerpedia/layerpedia.py,sha256=1syubfXBTB630TVkgcQ-Ge7Qe9Zbr6EtZRreuqCJnQ8,9292
|
|
@@ -17,8 +18,8 @@ leap_model_parser/utils/uicomponents/generatenodedata.py,sha256=LRaPlO5jJ9pUtkvL
|
|
|
17
18
|
leap_model_parser/utils/uicomponents/tensorflowinscpection.py,sha256=ym613z9iQKPDBpr0RYD35bTABdm1L-Ez86G47BYT7qw,6775
|
|
18
19
|
leap_model_parser/utils/uicomponents/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
|
|
19
20
|
leap_model_parser/utils/uicomponents/ui_components_config.yaml,sha256=cRH8T-c3TAL0nfefRvt9pFsjbTWNEg38NRyHR7RpJsk,19534
|
|
20
|
-
leap_model_parser-0.1.
|
|
21
|
-
leap_model_parser-0.1.
|
|
22
|
-
leap_model_parser-0.1.
|
|
23
|
-
leap_model_parser-0.1.
|
|
24
|
-
leap_model_parser-0.1.
|
|
21
|
+
leap_model_parser-0.1.236.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
|
22
|
+
leap_model_parser-0.1.236.dist-info/METADATA,sha256=wyzk-xyzyFrT_ikBpU4E4OSNYMa5ER5ZL00ns-iJL9w,1104
|
|
23
|
+
leap_model_parser-0.1.236.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
24
|
+
leap_model_parser-0.1.236.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
|
|
25
|
+
leap_model_parser-0.1.236.dist-info/RECORD,,
|
|
File without changes
|
{leap_model_parser-0.1.234.dev0.dist-info → leap_model_parser-0.1.236.dist-info}/entry_points.txt
RENAMED
|
File without changes
|