2021-05-05 10:13:49 -07:00
|
|
|
---
|
|
|
|
id: 5e8f2f13c4cdbe86b5c72d9a
|
2021-07-16 11:03:16 +05:30
|
|
|
title: '卷積神經網絡:選擇預訓練模型'
|
2021-05-05 10:13:49 -07:00
|
|
|
challengeType: 11
|
|
|
|
videoId: h1XUt1AgIOI
|
2021-10-03 12:24:27 -07:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 463063633
|
|
|
|
bvid: BV1qL411x73q
|
|
|
|
cid: 409132626
|
2021-05-05 10:13:49 -07:00
|
|
|
dashedName: convolutional-neural-networks-picking-a-pretrained-model
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
填寫下面的空白,使用谷歌預訓練的 MobileNet V2 模型作爲卷積神經網絡的基礎:
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
|
|
```py
|
|
|
|
base_model = tf.__A__.applications.__B__(input_shape=(160, 160, 3),
|
|
|
|
include_top=__C__,
|
|
|
|
weights='imagenet'
|
|
|
|
)
|
|
|
|
```
|
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
A: `keras`
|
|
|
|
|
|
|
|
B: `MobileNetV2`
|
|
|
|
|
|
|
|
C: `False`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `Keras`
|
|
|
|
|
|
|
|
B: `MobileNetV2`
|
|
|
|
|
|
|
|
C: `True`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `keras`
|
|
|
|
|
|
|
|
B: `mobile_net_v2`
|
|
|
|
|
|
|
|
C: `False`
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
1
|
|
|
|
|