인공지능

TensorFlow(텐서플로)의 MobileNetV2

오늘은 집 2021. 12. 28. 20:36

모바일넷은 핸드폰에서 돌아갈정도로 가볍고, 정확도도 낮지 않아서 잘 쓰이는 인공지능이다.

아래와 같이 쓸 수 있는데

 

tf.keras.applications.mobilenet_v2.MobileNetV2(
    input_shape=None, alpha=1.0, include_top=True, weights='imagenet',
    input_tensor=None, pooling=None, classes=1000,
    classifier_activation='softmax', **kwargs
)

 

include_top=False 로 하면 Base Model 만을 가져올 수 있다.

 

아래는 텐서플로의 공식 사이트이다.

 

https://www.tensorflow.org/api_docs/python/tf/keras/applications/mobilenet_v2/MobileNetV2?hl=ko#args 

 

tf.keras.applications.mobilenet_v2.MobileNetV2  |  TensorFlow Core v2.7.0

Instantiates the MobileNetV2 architecture.

www.tensorflow.org