A.I./구현10 TensorFlow Lite 공식예제)꽃 인식 안드로이드 앱 -(1) 참고) Recognize Flowers with TensorFlow Lite on Android 텐서플로라이트에서는 직접 모델을 생성하거나 훈련시킬 수 없다. 따라서 로컬에서 훈련시킨 텐서플로 모델을 텐서플로라이트 포맷으로 변환하여 사용한다. 위 예제에서는 꽃을 인식하기 위하여, 사전훈련된 MobileNetV2를 베이스 모델로 훈련 파인 튜닝(fine-tuning)을 적용하여 훈련 한 뒤에 텐서플로라이트 포맷으로 변환하는 Google Colab 노트북을 제공한다. (flowers_tf_lite.ipynb) 코드에서 살펴볼만한 몇 가지 사항들은 아래와 같다. 케라스의 ImageDataGenerator를 이용해서 데이터를 전처리해준다. 이미지의 크기는 224 x 224로 리사이즈하고, 배치크기는 64로 한다.. 2020. 5. 10. TensorFlow Lite 개요 참고) https://www.tensorflow.org/lite/guide TensorFlow Lite guide TensorFlow Lite is a set of tools to help developers run TensorFlow models on mobile, embedded, and IoT devices. It enables on-device machine learning inference with low latency and a small binary size. TensorFlow Lite consists of two main components: The www.tensorflow.org 텐서플로 라이트(TensorFlow Lite) 모바일, 임베디드 디바이스, IoT에서 동작하는 온-디바이스.. 2020. 5. 10. 이전 1 2 3 다음