Skip to content

Jaeookk/fastapi_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI_test

Deepfake 구현 중



1) Directory 구조

   fastapi_test
   |
   ├── 📁 ai
   │    ├── 📁 SOAT ( Toonification )
   │    │    ├── 📁 imgs
   |    |    |    └──  ⋮  
   |    |    ├── 📁 op
   |    |    |    └──  ⋮
   |    |    ├── 💾 projector.py ( 생성모델을 통한 사용자 이미지 인버젼 )
   |    |    ├── 💾 toonify.py ( 만화캐릭터와 합성 )
   |    |    └──  ⋮
   |    |
   │    └── 📁 Thin-Plate-Spline-Motion-Model ( Deep-fake )
   |         ├── 📁 checkpoints
   │         ├── 💾 realtime.py
   │         └──  ⋮ 
   |
   ├── 📁 app
   |    ├── 💾 __main__.py
   |    ├── 💾 main.py
   |    ├── 💾 frontend.py
   │    └──  ⋮
   |
   ├── 💾 README.md
   └── 💾 requirements.txt

2) Start Toonification

  1. Python requirements

    Python : 3.10.9


  2. Installation

    1. 가상 환경 설정

    2. CUDA 설정


    1. 프로젝트 의존성 설치.

      • > pip install -r requirements.txt

    1. 가중치 다운로드

      모든 가중치는 ai/SOAT에 다운받기.


    1. Frontend(Streamlit)와 Server(FastAPI)를 같이 실행.
      > make -j 2 run_app


참고

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published