mobile_net在spyder下载不下来

#设置 MobileNet 的权重为不可训练
#MobileNet的基本单元是深度级可分离卷积(depthwise separable convolution)
mobile_net = tf.keras.applications.MobileNetV2(input_shape=(192, 192, 3), include_top=False)
mobile_net.trainable=False

上述代码在下载模型时,spyder一直超时。可以通过浏览器访问下载地址,直接下载,然后保存到硬盘就行,硬盘默认目录是C:\Users\电脑用户.keras\models

在这里插入图片描述

发布了21 篇原创文章 · 获赞 18 · 访问量 1462

猜你喜欢

转载自blog.csdn.net/zephyr_wang/article/details/102861704