onnx2tf 1.27.5__py3-none-any.whl → 1.27.6__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.
onnx2tf/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  from onnx2tf.onnx2tf import convert, main
2
2
 
3
- __version__ = '1.27.5'
3
+ __version__ = '1.27.6'
onnx2tf/onnx2tf.py CHANGED
@@ -595,10 +595,11 @@ def convert(
595
595
  with open(param_replacement_file, 'r') as f:
596
596
  replacement_parameters = json.load(f)['operations']
597
597
  for operations in replacement_parameters:
598
+ operations: Dict
598
599
  operations['op_name'] = operations['op_name'].replace(':','_')
599
600
  if output_signaturedefs or output_integer_quantized_tflite:
600
601
  operations['op_name'] = re.sub('^/', 'wa/', operations['op_name'])
601
- operations['param_name'] = re.sub('^/', 'wa/', operations['param_name'])
602
+ operations['param_name'] = re.sub('^/', 'wa/', operations.get('param_name', ""))
602
603
  except json.decoder.JSONDecodeError as ex:
603
604
  error(
604
605
  f'The file specified in param_replacement_file is not in JSON format. \n' +
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onnx2tf
3
- Version: 1.27.5
3
+ Version: 1.27.6
4
4
  Summary: Self-Created Tools to convert ONNX files (NCHW) to TensorFlow/TFLite/Keras format (NHWC). The purpose of this tool is to solve the massive Transpose extrapolation problem in onnx-tensorflow (onnx-tf).
5
5
  Home-page: https://github.com/PINTO0309/onnx2tf
6
6
  Author: Katsuya Hyodo
@@ -334,7 +334,7 @@ Video speed is adjusted approximately 50 times slower than actual speed.
334
334
  docker run --rm -it \
335
335
  -v `pwd`:/workdir \
336
336
  -w /workdir \
337
- ghcr.io/pinto0309/onnx2tf:1.27.5
337
+ ghcr.io/pinto0309/onnx2tf:1.27.6
338
338
 
339
339
  or
340
340
 
@@ -342,7 +342,7 @@ Video speed is adjusted approximately 50 times slower than actual speed.
342
342
  docker run --rm -it \
343
343
  -v `pwd`:/workdir \
344
344
  -w /workdir \
345
- docker.io/pinto0309/onnx2tf:1.27.5
345
+ docker.io/pinto0309/onnx2tf:1.27.6
346
346
 
347
347
  or
348
348
 
@@ -1,6 +1,6 @@
1
- onnx2tf/__init__.py,sha256=S0_B3HjmSe_6V-qUb2vqeVGAXTcEzDH7714FwQs4hII,66
1
+ onnx2tf/__init__.py,sha256=BRR6jLGxZsG-5DxMPDGLlQLYc4ijJHyOdt2smyK3gTc,66
2
2
  onnx2tf/__main__.py,sha256=2RSCQ7d4lc6CwD-rlGn9UicPFg-P5du7ZD_yh-kuBEU,57
3
- onnx2tf/onnx2tf.py,sha256=9g8enwecc2e0vZ3dnvE7ukZYEqsCBOo940zdauvN_-M,123738
3
+ onnx2tf/onnx2tf.py,sha256=5JDNLnXV3rnWGLDQIxdiCRgxRi2HmyPAIt6KFI6AhU8,123783
4
4
  onnx2tf/ops/Abs.py,sha256=V7btmCG_ZvK_qJovUsguq0ZMJ349mhNQ4FHSgzP_Yuo,4029
5
5
  onnx2tf/ops/Acos.py,sha256=Fo8YkFKuWq8Fi2xUrBdKcAH1yJ8r5pjSD0wgLttTNdk,4003
6
6
  onnx2tf/ops/Acosh.py,sha256=ATQj2cT5JS_mTfXi0kXqJ1yzSZu5J0zHA5VjV3j7uKY,3588
@@ -188,10 +188,10 @@ onnx2tf/utils/__init__.py,sha256=E9FM9He68VIASDnYp-OrxvHFVn55GzWqw2OEkCqn1zg,27
188
188
  onnx2tf/utils/common_functions.py,sha256=HTDca3DGXB3xvc1S50RNscgB57TCiq4yC5Nrafs6ka4,241430
189
189
  onnx2tf/utils/enums.py,sha256=7c5TqetqB07VjyHoxJHfLgtqBqk9ZRyUF33fPOJR1IM,1649
190
190
  onnx2tf/utils/logging.py,sha256=yUCmPuJ_XiUItM3sZMcaMO24JErkQy7zZwVTYWAuiKg,1982
191
- onnx2tf-1.27.5.dist-info/licenses/LICENSE,sha256=5v_Kxihy8i6mzHVl349ikSREaIdsl9YeUnX1KBDLD2w,1070
192
- onnx2tf-1.27.5.dist-info/licenses/LICENSE_onnx-tensorflow,sha256=gK4GtS9S5YcyINu6uuNNWdo-kBClyEM4MFLFGiNTeRM,11231
193
- onnx2tf-1.27.5.dist-info/METADATA,sha256=EWp0BPQ3Vaj1oraR-MKYgxo1fXzWa99Yaub9IgOFNSI,147712
194
- onnx2tf-1.27.5.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
195
- onnx2tf-1.27.5.dist-info/entry_points.txt,sha256=gDPK8ToCFPKMvm8jr9xrGOkXtORJJVh4736fBEKO5k0,41
196
- onnx2tf-1.27.5.dist-info/top_level.txt,sha256=WgfPiEy3f6vZ_FOpAIEA2CF3TCx1eYrhGw93Ih6b9Fw,8
197
- onnx2tf-1.27.5.dist-info/RECORD,,
191
+ onnx2tf-1.27.6.dist-info/licenses/LICENSE,sha256=5v_Kxihy8i6mzHVl349ikSREaIdsl9YeUnX1KBDLD2w,1070
192
+ onnx2tf-1.27.6.dist-info/licenses/LICENSE_onnx-tensorflow,sha256=gK4GtS9S5YcyINu6uuNNWdo-kBClyEM4MFLFGiNTeRM,11231
193
+ onnx2tf-1.27.6.dist-info/METADATA,sha256=zRB3pV3IdIZiGY0JT04-jx9Ydf4Ywr547T_E0G0jX4o,147712
194
+ onnx2tf-1.27.6.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
195
+ onnx2tf-1.27.6.dist-info/entry_points.txt,sha256=gDPK8ToCFPKMvm8jr9xrGOkXtORJJVh4736fBEKO5k0,41
196
+ onnx2tf-1.27.6.dist-info/top_level.txt,sha256=WgfPiEy3f6vZ_FOpAIEA2CF3TCx1eYrhGw93Ih6b9Fw,8
197
+ onnx2tf-1.27.6.dist-info/RECORD,,