Traceback (most recent call last):


 "run_classifier.py", line 25, in <module>

import optimization


 "D:\bertpro\bert\optimization.py", line 87, in <module>

class AdamWeightDecayOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow_core._api.v2.train' has no attribute 'Optimizer'
Traceback (most recent call last):


 "C:\Users\AlwaysLivid\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\client.py", line 220, in _run_event

await coro(*args, **kwargs)


 "C:\Users\AlwaysLivid\Desktop\Discord Mailbot\main.py", line 32, in on_ready

await client.change_presence(status=discord.Status.idle, activity=activity)


 "C:\Users\AlwaysLivid\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\client.py", line 839, in change_presence

await self.ws.change_presence(activity=activity, status=status, afk=afk)
AttributeError: 'NoneType' object has no attribute 'change_presence'
