Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mountchicken/neural-style-transfer

New Year, New Style For Your Image
https://github.com/mountchicken/neural-style-transfer

pytorch styletransfer

Last synced: 18 days ago
JSON representation

New Year, New Style For Your Image

Awesome Lists containing this project

README

        

# Neural-Style-Transfer
New Year, New Style For Your Image
- ![test_example](https://github.com/Mountchicken/Neural-Style-Transfer/blob/main/github/image1.png)
- ![test_example](https://github.com/Mountchicken/Neural-Style-Transfer/blob/main/github/sky.jpg)
- - ![test_example](https://github.com/Mountchicken/Neural-Style-Transfer/blob/main/github/ddd.png)
## Structure
### File

- `main.py`: models and codes for NST,run it
- `content`: where you stored the content image
- `style` : where you stored the style image
- `generated`:The genearted images

## Which hyperparameters Can be changed in the main.py

### line33--image_size
- this parameter determines the size of the geneareted image and the size which the content image will
- be resize to. The larger it is, the better the quality of the geneareted image will be with the cost
- of more training time

### line45-line46 --steps and lr
- you can use a decreasing learning-rate and less or more steps depends on the training result

### line47-line48 --alpha and beta
- The larger the alpha, the more the generated image looks like the content iamge.The larger the beta,
- the more the generated image looks like the style image

## contact information
- [email protected]