【发布时间】:2021-06-08 04:20:29
【问题描述】:
我在这里遇到错误:
from keras.applications import VGG16
modelvgg =VGG16(include_top=True,weights=None)
modelvgg.load_weights("Data/vgg16_weights_tf_dim_ordering_tf_kernels.h5")
modelvgg.summary()
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
【问题讨论】:
标签: tensorflow keras graph anaconda