Skip to content

can't use with tensorflow 2.20.0 #2409

@siddhsql

Description

@siddhsql

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions