https://github.com/ahmetfurkandemir/stylepy
Neural style transfer project with Flask
https://github.com/ahmetfurkandemir/stylepy
ai flask neuralstyletransfer python styletransfer
Last synced: 2 months ago
JSON representation
Neural style transfer project with Flask
- Host: GitHub
- URL: https://github.com/ahmetfurkandemir/stylepy
- Owner: AhmetFurkanDEMIR
- Created: 2020-10-02T09:04:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-11T16:30:35.000Z (about 4 years ago)
- Last Synced: 2025-04-15T21:51:57.964Z (6 months ago)
- Topics: ai, flask, neuralstyletransfer, python, styletransfer
- Language: Python
- Homepage:
- Size: 17.3 MB
- Stars: 18
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StylePY
* With this web application, you can transfer styles between your images and videos in a simple interface.
* You will be able to create magnificent pictures with Neural style transfer.
* If I explain the purpose of the application in a simple way, we can say that it is to transfer the style of a picture to another picture, or we can say to transfer the style of a picture to another video.
* web application was written in flask, neural style transfer was written in pytorch.
* This application requires high GPU usage, if you do not have a good GPU, read my article titled Deploying flask project over Colab which I wrote earlier. https://github.com/AhmetFurkanDEMIR/Unix-and-Cloud-Computing/blob/master/GogleColab_Flask/README.md
* Usage video of the application : https://www.linkedin.com/posts/1dfurkan_neuralstyletransfer-computervision-machinelearning-activity-6717726740375969792-RkTN
### Use of the application
* First, go to the folder named models and run the code. (Since the size of the model (500 mb) is very large, you will download the model remotely with this code.)
code :
```linux
bash ./download_models.sh
```* Now let's install the modules required for the operation of this web application with pip.
code :
```linux
pip3 install -r requirements.txt
```* Now everything is ok, we can run the application :).
code :
```linux
python3 main.py
```* If you see the picture below, everything is fine, proceed to the link in the window that opens and enjoy the application.
### Application images





### Test results
* **Style Image**

* **Style Video**
