tensorflow-onnx icon indicating copy to clipboard operation
tensorflow-onnx copied to clipboard

can't use with tensorflow 2.20.0

Open siddhsql opened this issue 3 months ago • 1 comments

Describe the bug

 poetry add tf2onnx
Using version ^1.16.1 for tf2onnx

Updating dependencies
Resolving dependencies... (0.4s)

Because no versions of tf2onnx match >1.16.1,<2.0.0
 and tf2onnx (1.16.1) depends on protobuf (>=3.20,<4.0), tf2onnx (>=1.16.1,<2.0.0) requires protobuf (>=3.20,<4.0).
And because tensorflow (2.20.0) depends on protobuf (>=5.28.0)
 and no versions of tensorflow match >2.20.0,<3.0.0, tf2onnx (>=1.16.1,<2.0.0) is incompatible with tensorflow (>=2.20.0,<3.0.0).
So, because training depends on both tensorflow (>=2.20.0,<3.0.0) and tf2onnx (^1.16.1), version solving failed.

Urgency

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 18.04*):
  • TensorFlow Version:
  • Python version:
  • ONNX version (if applicable, e.g. 1.11*):
  • ONNXRuntime version (if applicable, e.g. 1.11*):

To Reproduce

Screenshots

Additional context

siddhsql avatar Aug 31 '25 22:08 siddhsql