leap-model-parser 0.1.187__py3-none-any.whl → 0.1.187.dev1__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/leap_graph_editor.py +3 -3
- {leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/METADATA +1 -1
- {leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/RECORD +6 -6
- {leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/LICENSE +0 -0
- {leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/WHEEL +0 -0
- {leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/entry_points.txt +0 -0
@@ -207,9 +207,9 @@ class LeapGraphEditor:
|
|
207
207
|
def _handle_input_node_with_index(self, input_node: NodeMapping) -> str:
|
208
208
|
input_index = int(input_node.type.value.replace('Input', ''))
|
209
209
|
origin_name = self.keras_model.inputs[input_index].node.layer.name
|
210
|
-
|
211
|
-
assert
|
212
|
-
input_node_id =
|
210
|
+
input_node_by_origin = self._find_input_node_by_origin_name(origin_name)
|
211
|
+
assert input_node_by_origin is not None, f"Input node with origin name {origin_name} not found in model graph"
|
212
|
+
input_node_id = input_node_by_origin.id
|
213
213
|
self.model_graph[input_node_id].data['output_name'] = input_node.name
|
214
214
|
output_keys = list(self.model_graph[input_node_id].outputs.keys())
|
215
215
|
for output_key in output_keys:
|
@@ -6,7 +6,7 @@ leap_model_parser/contract/importmodelresponse.py,sha256=GlvnKS8xrebU2Sj0dxqtEhA
|
|
6
6
|
leap_model_parser/contract/nodedata.py,sha256=1_ML0nzp3QUZ0_9mGSLhfO4_hqjYMwi0DWLwymUnWEs,43326
|
7
7
|
leap_model_parser/contract/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
|
8
8
|
leap_model_parser/keras_json_model_import.py,sha256=x7HOH6iaASfzJgwMRHgF5SQS-iFOF5j9yCG0mDC9HEA,16794
|
9
|
-
leap_model_parser/leap_graph_editor.py,sha256=
|
9
|
+
leap_model_parser/leap_graph_editor.py,sha256=S6fqn-Alz3Ne8HW4T5mD4kz42q6wP-qt_LeJ7C5q2Xw,13052
|
10
10
|
leap_model_parser/model_parser.py,sha256=kodF6aCPXP5FzZR9To2txqu6YdwklmhdJbyQKO_hghM,6587
|
11
11
|
leap_model_parser/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
leap_model_parser/utils/layerpedia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -18,8 +18,8 @@ leap_model_parser/utils/uicomponents/generatenodedata.py,sha256=LRaPlO5jJ9pUtkvL
|
|
18
18
|
leap_model_parser/utils/uicomponents/tensorflowinscpection.py,sha256=ym613z9iQKPDBpr0RYD35bTABdm1L-Ez86G47BYT7qw,6775
|
19
19
|
leap_model_parser/utils/uicomponents/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
|
20
20
|
leap_model_parser/utils/uicomponents/ui_components_config.yaml,sha256=cRH8T-c3TAL0nfefRvt9pFsjbTWNEg38NRyHR7RpJsk,19534
|
21
|
-
leap_model_parser-0.1.187.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
22
|
-
leap_model_parser-0.1.187.dist-info/METADATA,sha256=
|
23
|
-
leap_model_parser-0.1.187.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
24
|
-
leap_model_parser-0.1.187.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
|
25
|
-
leap_model_parser-0.1.187.dist-info/RECORD,,
|
21
|
+
leap_model_parser-0.1.187.dev1.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
22
|
+
leap_model_parser-0.1.187.dev1.dist-info/METADATA,sha256=xWpNmmM2GtzaJQWPJwsQ3WWQbPFriOUA1KKmeCMDMEU,1108
|
23
|
+
leap_model_parser-0.1.187.dev1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
24
|
+
leap_model_parser-0.1.187.dev1.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
|
25
|
+
leap_model_parser-0.1.187.dev1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{leap_model_parser-0.1.187.dist-info → leap_model_parser-0.1.187.dev1.dist-info}/entry_points.txt
RENAMED
File without changes
|