You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the instructions carefully in bash, for the native installation they inevitably lead to this error: AttributeError: module 'tensorflow' has no attribute 'sort'
After way too much debugging I found the solution for this! Update Tensorflow.
Replacing the docker image did fix it for me https://github.com/openai/gpt-2/blob/master/Dockerfile.cpu#L1. So just use FROM tensorflow/tensorflow:1.15.0-py3 instaed and it should work. It is important to not update to tensorflow 2.2
After following the instructions carefully in bash, for the native installation they inevitably lead to this error:
AttributeError: module 'tensorflow' has no attribute 'sort'
I wrote a SO post about it here which has the full stack trace: https://stackoverflow.com/questions/61510865/tensorflow-has-no-attribute-sort-in-gpt-2-git-release
What should I do to have a successful install and resolve this issue?
The text was updated successfully, but these errors were encountered: