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
Traceback (most recent call last):
File "xlnet/run_classifier.py", line 25, in
import model_utils
File "/content/xlnet/model_utils.py", line 295, in
class AdamWeightDecayOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'
The text was updated successfully, but these errors were encountered:
When I run XLnet colab example
https://github.com/zihangdai/xlnet/blob/master/notebooks/colab_imdb_gpu.ipynb
It showed the following error:
=========================
Traceback (most recent call last):
File "xlnet/run_classifier.py", line 25, in
import model_utils
File "/content/xlnet/model_utils.py", line 295, in
class AdamWeightDecayOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'
The text was updated successfully, but these errors were encountered: