rish-16 / gpt2client

✍🏻 gpt2-client: Easy-to-use TensorFlow Wrapper for GPT-2 117M, 345M, 774M, and 1.5B Transformer Models 🤖 📝
MIT License
372 stars 74 forks source link

AttributeError: module 'tensorflow._api.v1.compat' has no attribute 'v1' #7

Closed gdh756462786 closed 4 years ago

gdh756462786 commented 5 years ago

this is a tensorflow version error?

rish-16 commented 5 years ago

Yup. Should be. So far, TensorFlow has worked smoothly with gpt2-client and technically, shouldn't be causing any known problems.

Could you please try to force reinstall TensorFlow (with the latest version and all)?

Hope the helps!