This repository was archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
model generation got error #2
Comments
Hi, what is your environment? I just tried using the mentionned Also working using the last |
@Pierrci I have tried your code in the colab, it works perfectly. The error might be caused by colab kernel, while after the pip installation, restart the notbook kernel then the code works. Many thanks. |
@Pierrci It looks like there's no longer that version of tf-nightly.
And building with TensorFlow 2.2.0-* leads me to this issue where print(model.inputs)
print(model.outputs) gives
Edit!pip install tensorflow==2.1.0 works fine |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I currently encountered an error when trying to use the model_generation.py script
Problem 1:
If the tf.version is 1.15, following statement got error:
Problem 2:

if I installed tf-nightly, instead of 1.15 tf, the version is
The above statement go through, but following error shows up
Would you mind update the requirement.txt to fix the version of tf-nightly and transformers, to ensure the script could execute correctly?
Many thanks.
The text was updated successfully, but these errors were encountered: