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
I am new to tensorflow but something seems changed. I get this when i try to train
Traceback (most recent call last):
File "./train.py", line 14, in <module>
import model, sample, encoder
File "/content/gpt-2/src/model.py", line 3, in <module>
from tensorflow.contrib.training import HParams
ModuleNotFoundError: No module named 'tensorflow.contrib'
I even tried %tensorflow_version 1.x
The text was updated successfully, but these errors were encountered:
You need specific version such as 1.12 which you cannot do via %tensorflow_version 1.x. Fortunately, there is a workaround to downgrade, try to apply as the link; https://stackoverflow.com/a/54445624/6401202
I am new to tensorflow but something seems changed. I get this when i try to train
I even tried
%tensorflow_version 1.x
The text was updated successfully, but these errors were encountered: