Open dengchubo opened 4 years ago
File "D:\pythonfile\keras-faster-rcnn-master\keras-faster-rcnn-master\faster_rcnn\utils\model_utils.py", line 79, in compile keras_model.add_metric(loss, aggregation='mean', name=name) AttributeError: 'Model' object has no attribute 'add_metric'
@dengchubo 我用的是TensorFlow 1.14.0
谢谢大神回复,我现在一直在下这个版本还没下下来。运行你的程序的时候出现了好几处错误,我只是尝试用家里的电脑运行你这个程序,只有一块GPU。
File "D:\pythonfile\keras-faster-rcnn-master\keras-faster-rcnn-master\faster_rcnn\utils\model_utils.py", line 79, in compile keras_model.add_metric(loss, aggregation='mean', name=name) AttributeError: 'Model' object has no attribute 'add_metric'