In constants.py, I set the batch_size= 16. When run the pretraining.py, I always get the error which "tensorflow.python.framework.errors_impl.InvalidArgumentError: Inputs to operation training/Adam/gradients/AddN_2 of type _MklAddN must have the same size and shape. Input 0: [983040] != input 1: [48,10,4,512]". Who know it and help me.
In constants.py, I set the batch_size= 16. When run the pretraining.py, I always get the error which "tensorflow.python.framework.errors_impl.InvalidArgumentError: Inputs to operation training/Adam/gradients/AddN_2 of type _MklAddN must have the same size and shape. Input 0: [983040] != input 1: [48,10,4,512]". Who know it and help me.