Traceback (most recent call last):
File "/content/IndicBERT/train/run_pretraining.py", line 23, in <module>
import optimization
File "/content/IndicBERT/train/optimization.py", line 87, in <module>
class AdamWeightDecayOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'
Command
Error