Team Project/핸들랭(handlang)

프로젝트 진행 상황 + 2/1까지 할 일

jujuju 2020. 2. 24. 02:54

[프로젝트 진행 상황]

1. GCP에서 darkflow로 model training을 진행 중이다.

 

2. 모델을 어떻게 웹으로 불러올지 조사하고 코드를 분석했다.

- tensorflow js를 사용하는 방법과 flask or django를 사용하는 방법을 조사

    1) tensorflow js

        - teachable machine

        https://teachablemachine.withgoogle.com/?fbclid=IwAR2y1juwJUpJ6rcHbcy4RkjAP1paKrFagfCyHR3399fhobUOuTAQGMe7nsk

 

Teachable Machine

Train a computer to recognize your own images, sounds, & poses. A fast, easy way to create machine learning models for your sites, apps, and more – no expertise or coding required.

teachablemachine.withgoogle.com

        - darkflow 를 tensorflow js로 변환

        => tensorflow js에서 제공하는 converter를 이용한다.

        https://www.tensorflow.org/js/tutorials/conversion/import_saved_model

 

Importing a TensorFlow GraphDef based Models into TensorFlow.js

TensorFlow GraphDef based models (typically created via the Python API) may be saved in one of following formats: TensorFlow SavedModel Frozen Model Session Bundle Tensorflow Hub module All of the above formats can be converted by the TensorFlow.js convert

www.tensorflow.org

        - tensorflow js + yolo 프로젝트 분석

        [ModelDepot]    

        https://github.com/ModelDepot/tfjs-yolo-tiny-demo

 

ModelDepot/tfjs-yolo-tiny-demo

Demo for https://www.npmjs.com/package/tfjs-yolo-tiny - ModelDepot/tfjs-yolo-tiny-demo

github.com

        [Tensorflow.js 를 활용한 사물인식]

        https://blog.naver.com/shane5321/221700192580       

 

[Droidscript] Tensorflow.js를 이용한 사물인식

#Tensorflow.js를 이용해 #사물인식 (#ObjectDetection)을 구현했습니다.​대표적인 사물인식 신경망은 ...

blog.naver.com

        [Yolo v2 to detect your own objects using Darkflow]

        https://towardsdatascience.com/yolov2-to-detect-your-own-objects-soccer-ball-using-darkflow-a4f98d5ce5bf

 

YOLOv2 to detect your own objects (soccer ball) using Darkflow

This story introduces the basic steps for object detection on your custom dataset.

towardsdatascience.com

    2) flask or django

        - python application 에서 darkflow 불러오기

https://github.com/thtrieu/darkflow

        - 서버에 올리기

        [Digital Ocean server를 사용하여 배포하는 방법]

        https://towardsdatascience.com/building-a-web-application-to-deploy-machine-learning-models-e224269c1331

 

Building a Web Application to Deploy Machine Learning Models

So we’ve built our ML model — now what? How to get out of Jupyter Notebook and into Web Apps with Flask!

towardsdatascience.com

 

3. flask 공부

회의 결과 위에 방법들 중 파이썬 웹 프레임워크인 flask를 사용하기로 했고, flask를 공부하는 중이다.