Skip to content

[ACCV'22] Fine-Grained Image Style Transfer with Visual Transformers

License

Notifications You must be signed in to change notification settings

researchmm/STTR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
tlatlbtle
Dec 6, 2022
ff52ccf · Dec 6, 2022

History

4 Commits
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Oct 4, 2022
Oct 4, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022
Dec 6, 2022

Repository files navigation

Install

conda install -c pytorch pytorch torchvision
conda install cython scipy

Test

Download pre-trained model here

https://drive.google.com/file/d/1OsRljnuWBb9BQzFJnidkhwuPKOt6YYx9/view?usp=sharing

Put it under ./checkpoint_model

Please change the images you want to use in the following folders:

inputs/content: a folder to store all content images
inputs/style: a folder to store all style images

Then run

python demo_sttr_image.py

You could see results in outputs/test_outputs/0005

About

[ACCV'22] Fine-Grained Image Style Transfer with Visual Transformers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages