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

Unable to reproduce quality #1

Open
SpaceCowboy850 opened this issue Jun 26, 2017 · 4 comments
Open

Unable to reproduce quality #1

SpaceCowboy850 opened this issue Jun 26, 2017 · 4 comments

Comments

@SpaceCowboy850
Copy link

Hello,

I was interested in checking this out as it proposes to preserve larger features, create larger textures, and generate faster than Gatys. But outside your model that you've uploaded, I cannot produce good results on textures that I give it myself.

This is the source texture I used, a 512x512
wall

After over an hour and half of training (on a Titan X Pascal), this is the snapshot:

wall_filters64_npx257_5gl_5dl_epoch120

It doesn't seem like the default parameterization do very well. We've trained for over 20 hours and it pretty much stays at this level of quality.

@nikjetchev
Copy link
Collaborator

Hi

thanks a lot for the comment, I may take a look and see what settings work best for that texture.
It is indeed sometimes trial-and-error to choose the right values for patch size, image size of the texture, and network depth (which determines the receptive field)

As a sidenote, please take also a look at https://github.com/ubergmann/psgan , our latest algorithm can handle much more diverse texture images.

@SpaceCowboy850
Copy link
Author

That's great to hear! We've implemented gatys on C++ windows caffe but are now looking to get the speed and texture size up, so this looks promising if we can get it to work.

@nikjetchev
Copy link
Collaborator

nikjetchev commented Jun 27, 2017

Some of the artifacts of the images may be a general issue with deconv. filter implementations, see
http://distill.pub/2016/deconv-checkerboard/

I changed a bit the parameters and tried with your texture

nz = 20 # num of dim for Z at each field position
zx = 7 # number of spatial dimensions in Z
batch_size = 20
epoch_iters = batch_size * 500

also used 4 mirrored versions of your texture for data augmentation - since it is a bit small for a good texture

This is what I got, looks a bit better than yours ?

stone_filters64_npx193_5gl_5dl_epoch30

@SpaceCowboy850
Copy link
Author

Ah, okay, that's good to know. I'll play around with it some more. I'm aware of the checkerboard link, so I'll take a look at that after we've played around with parameterization a bit. Thank you!

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

2 participants