Yeongbeen

first commit

Showing 1 changed file with 58 additions and 0 deletions
1 +# 비디오 벡터를 이용한 내용 기반 유튜브 영상 추천 시스템
2 +
3 +## Intro
4 +- Tag Money?는 동영상에 어울리는 유튜브 태그와 관련 유튜브 영상을 추천해 주는 웹 서비스입니다.
5 +- 유저가 영상을 업로드하면 기존 유튜브 영상들과의 유사성을 파악하여 가장 어울리는 태그와 연관된 유튜브 영상을 추천해 줍니다.
6 +- 본 프로젝트는 박광훈 교수님의 **유튜브 동영상 분류를 위한 자동 태깅 방법에 대한 연구**에 기반하고 있습니다.
7 +
8 +## Research field
9 +* Video Classification
10 +* NLP
11 +* Word Vectorization
12 +
13 +## Tech Stack
14 +* [Tensorflow](https://www.tensorflow.org/)
15 +* [Gensim](https://radimrehurek.com/gensim/)
16 +* [Django](https://www.djangoproject.com/)
17 +* [Vue.js](https://kr.vuejs.org/v2/guide/index.html)
18 +
19 +## Members
20 +![profit_hunter](/img/profit_hunter.png)
21 +* 팀명 **Profit Hunter**
22 +* 윤영빈(컴퓨터공학과, 2015104192)
23 +* 윤준현(컴퓨터공학과, 2015104193)
24 +* 이현규(컴퓨터공학과, 2015104209)
25 +* 이태현(컴퓨터공학과, 2015104208)
26 +
27 +## Links
28 +* [Youtube-8M Challenge](https://research.google.com/youtube8m/)
29 +* [Mediapipe](https://github.com/google/mediapipe)
30 +
31 +
32 +## How to run.
33 +### 필요한 라이브러리 설치
34 +1. git pull ssh://git@khuhub.khu.ac.kr:12959/2020-1-capstone-design1/PKH_Project1.git
35 +2. python 3.5 ~ 3.7, node.js 12.16
36 +3. google mediapipe 설치 https://google.github.io/mediapipe/getting_started/install
37 +4. YouTube-8M feature extraction graph 설치 https://github.com/google/mediapipe/tree/master/mediapipe/examples/desktop/youtube8m (요구 사양 RAM 32GB 이상)
38 +5. PKH_Project1/web/backend에서 requirements.txt 설치 (venv 사용 권장) -> pip install -r requirements.txt
39 +6. PKH_Project1/web/frontend에서 package.json 설치 -> npm install
40 +
41 +### 모델 학습
42 +1. Train
43 + - python train.py --frame_features --model=FrameLevelLogisticModel --feature_names='rgb,audio' --feature_sizes='1024,128' --train_data_pattern=/Train_데이터셋_저장경로/train*.tfrecord --train_dir PKH_Project1/web/backend/yt8m/esot3ria/model --start_new_model --segment_labels
44 +2. Evaluation
45 + - python eval.py --eval_data_pattern=/Eval_데이터셋_저장경로/val*.tfrecord --train_dir PKH_Project1/web/backend/yt8m/esot3ria/model --run_once --segment_labels
46 +
47 +
48 +### 웹서버 가동
49 +#### 1~6의 절차가 반드시 완료되어 있어야 합니다.
50 +- PKH_Project1/web/backend 디렉토리에서
51 + - . env/bin/activate (가상환경 사용 시)
52 + - python manage.py makemigrations
53 + - python manage.py migrate
54 + - python manage.py runserver
55 +
56 +#### front UI 수정하고 싶을 시, Vue의 사용법을 알아야합니다!
57 +
58 +#### backend를 수정하고 싶을 시 django의 사용법을 알아야합니다!
...\ No newline at end of file ...\ No newline at end of file