Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stroke size controlling #5

Open
godofdream opened this issue Jan 7, 2022 · 8 comments
Open

stroke size controlling #5

godofdream opened this issue Jan 7, 2022 · 8 comments

Comments

@godofdream
Copy link

In your paper you mention changing the decoder of adain to change the stroke size.
what is the difference between the decoders e.g. "decoder_stroke_perceptual_loss_1.pth" ?
In my case, I would like to convert an ultra high resolution (8192x8192), but applying the same "huge" stroke size, as I would if I would resize the picture to 1024x1024

@czczup
Copy link
Owner

czczup commented Jan 12, 2022

Hi, using the model trained with stroke perceptual loss can increase the stroke size to a certain extent.
But due to the limitation of the effective receptive field, 8192x8192 images still can't get the stroke size as 1024x1024 image.

@godofdream
Copy link
Author

I understand. Would this be overcomeable with TINs of the TIN? so basically creating a pyramid?
Also, do you think https://github.com/LouieYang/stroke-controllable-fast-style-transfer could be adapted for URST?
Did you think about spatial control in URST?

(By the way, URST is impressive, Congrats)

@czczup
Copy link
Owner

czczup commented Jan 12, 2022

Yes, URST can be adapted to stroke-controllable-fast-style-transfer. The only problem is that this code is TensorFlow, I don't know how to implement it immediately.
I have tried to adapt URST to another stroke control method - Multimodal Transfer: A Hierarchical Deep Convolutional Neural Network for Fast Artistic Style Transfer. It's very easy to implement, and we can get very large brush strokes. I would clean up the code and make it public in recent days.

@RahulBhalley
Copy link
Contributor

Hi @czczup thanks for your work! You mentioned the following, so have you made any progress on it?

I have tried to adapt URST to another stroke control method - Multimodal Transfer: A Hierarchical Deep Convolutional Neural Network for Fast Artistic Style Transfer. It's very easy to implement, and we can get very large brush strokes. I would clean up the code and make it public in recent days.

@czczup
Copy link
Owner

czczup commented Sep 6, 2022

Hi @czczup thanks for your work! You mentioned the following, so have you made any progress on it?

I have tried to adapt URST to another stroke control method - Multimodal Transfer: A Hierarchical Deep Convolutional Neural Network for Fast Artistic Style Transfer. It's very easy to implement, and we can get very large brush strokes. I would clean up the code and make it public in recent days.

Hello, thanks for your attention. I'm sorry I can't find the code implemented at that time. I can try to re-implement it, but it will take some time.

@RahulBhalley
Copy link
Contributor

It's okay. Thanks for reply.

@czczup
Copy link
Owner

czczup commented Feb 15, 2023

It's okay. Thanks for reply.

Hi, Multimodal Transfer is ready now.
https://github.com/czczup/URST/tree/main/Wang2017Multimodal

@RahulBhalley
Copy link
Contributor

It's okay. Thanks for reply.

Hi, Multimodal Transfer is ready now.

https://github.com/czczup/URST/tree/main/Wang2017Multimodal

I'm gonna go back read that paper. Got distracted to stable diffusion buzz. Thanks for your hard work!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants