https://github.com/lahi-ru/image_style_transfer
This project implements neural style transfer using PyTorch. The model combines the content of one image with the style of another to generate a stylized output.
https://github.com/lahi-ru/image_style_transfer
ai-art artificial-intelligence computer-vision deep-learning generative-model image-processing neutral-style-transfer python pytorch
Last synced: 8 months ago
JSON representation
This project implements neural style transfer using PyTorch. The model combines the content of one image with the style of another to generate a stylized output.
- Host: GitHub
- URL: https://github.com/lahi-ru/image_style_transfer
- Owner: LAHI-RU
- License: mit
- Created: 2024-12-27T15:36:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-30T03:25:36.000Z (10 months ago)
- Last Synced: 2025-02-19T21:14:17.763Z (8 months ago)
- Topics: ai-art, artificial-intelligence, computer-vision, deep-learning, generative-model, image-processing, neutral-style-transfer, python, pytorch
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Style Transfer Project
This project implements neural style transfer using PyTorch. The model combines the content of one image with the style of another to generate a stylized output.
## Features
- Uses a pre-trained VGG-19 model for feature extraction.
- Customizable content and style images.
- Outputs high-quality stylized images.## Requirements
- Python 3.8 or higher
- PyTorch
- Torchvision
- Pillow## Installation
1. Clone the repository:
```bash
git clone https://github.com/username/image-style-transfer.git
cd image-style-transfer2. Install the required dependencies:
```bash
pip install -r requirements.txt
```## Usage
1. Add your `content.jpg` and `style.jpg` images to the root directory.
2. Run the main script:```bash
python main.py
```3. The stylized image will be saved in the `output/` directory.
## Example
### Content Image:
*(Add image preview here)*### Style Image:
*(Add image preview here)*### Stylized Output:
*(Add image preview here)*## Contributing
Contributions are welcome! Please feel free to submit a pull request or report issues.
## License
This project is licensed under the MIT License. See the LICENSE file for details.