-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Modifying to work for tensorflow 2.0 #231
Comments
Having same issue with tensorflow.contrib. Running TF 2.1 on Debian (Raspbian) Buster. I hope this can be addressed soon. |
Hi All,
Plz take a look at lib in your implement in section TFGPT2Model:
https://huggingface.co/transformers/v2.0.0/model_doc/gpt2.html
And consider upgrade TF:
https://www.tensorflow.org/guide/upgrade
…On Fri, Feb 21, 2020, 02:57 Dave Xanatos ***@***.***> wrote:
Having same issue with tensorflow.contrib. Running TF 2.1 on Debian
(Raspbian) Buster. I hope this can be addressed soon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#231?email_source=notifications&email_token=AEYAMLZZALQG5HF3VYLOLMLRD3OB3A5CNFSM4KYVERL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMP3AUA#issuecomment-589279312>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYAMLZ4OPDSPGIOKMDPNJLRD3OB3ANCNFSM4KYVERLQ>
.
|
Has someone found any way to run this in TF 2.2? |
There is no need to worry about the whole What I have found (tensorflow/community#148) is that the original class can be replaced with a nice fork. Saving
solves the original problem. UPD: A pull request #262 just appeared that will close this issue. |
Since I am running Arch, it is an absolute pain to deal with older versions of software. Therefore, I want to update this to tensorflow 2.0. The biggest problem is in the model.py script, since it relies on tensorflow.contrib which no longer exists (even in tensorflow.compat.v1). How can I easily modify this script to make this work with the latest and greatest tensorflow?
The text was updated successfully, but these errors were encountered: