Web application that transforms images by applying artistic styles using deep learning. Based on the paper Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization.
- Node.js (v14 or higher)
- Python 3.11
- Conda (Miniconda or Anaconda)
cd backend
conda env create -f environment.yml
conda activate transfer-style
uvicorn server:app --reload
cd frontend
npm install
npm start
- Open
http://localhost:3000
- Upload content image
- Upload style image
- Click "Generate"
- Backend: FastAPI + PyTorch
- Frontend: React + Bootstrap
- Model: AdaIN architecture trained on WikiArt and MSCOCO datasets
Based on the work of Huang et al. (ICCV 2017) and uses pre-trained VGG models.