mobile

mac2025-10-08  1

#设置 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

最新回复(0)