-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What 's the version of the keras + tensorflow #1075
Comments
I was able to convert a model from ONNX format to tf, and tf to tf-lite with the following dependency versions:
Installing the TensorFlow dependencies will also get you the correct tf-keras (2.15.0) and keras (2.8.0) versions. In theory, python versions 3.8.x - 3.9.x would work, but practically I tested it with 3.9.19. |
What version of python did you use ? |
In theory, 3.8.x - 3.9.x would work. I tested it with 3.9.19. |
Describe the bug
After built and install the onnx-tf by pip install -e .
The onnx-tf is installed correctly, but after run the onn-tf,
it will said: no module keras.src.engin
My package version:
keras 2.12.0
tensorboard 2.16.2
tensorboard-data-server 0.7.2
tensorflow 2.16.1
tensorflow-addons 0.22.0
tensorflow-intel 2.16.1
tensorflow-io-gcs-filesystem 0.31.0
tensorflow-probability 0.24.0
termcolor 2.4.0
tf_keras 2.16.0
To Reproduce
Please give us instructions to reproduce your problem.
A self-contained piece of code that can demonstrate the problem is required.
Please do not expect us to have PyTorch, Caffe2 installed.
If a model exported from PyTorch and Caffe2 is having trouble in ONNX-TF, use the next section to attach the model.
ONNX model file
If applicable, attach the onnx model file in question using Gist, DropBox or Google Drive.
Python, ONNX, ONNX-TF, Tensorflow version
This section can be obtained by running
get_version.py
from util folder.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: