执行fluid.optimizer.AdamOptimizer.minimize()函数报错
Created by: shaofeifei11
PaddlePaddle版本:1.8.1
center_loss = fluid.layers.sigmoid_cross_entropy_with_logits(label=self.center_ness, x=self.predict_center) self.center_loss = fluid.layers.reduce_mean(center_loss, name="center_loss")
self.opt = fluid.optimizer.AdamOptimizer(learning_rate=0.001, beta1=0.9, beta2=0.999) self.opt.minimize(self.center_loss) # 这一段报错
新手入门,感谢大佬指导