ProGamerGov / neural-style-pt

PyTorch implementation of neural style transfer algorithm
MIT License
833 stars 178 forks source link

-init_image doesn't work? #87

Open petered opened 3 years ago

petered commented 3 years ago

-init_image doesn't seem to work, or at least not how I expect it to. The second image here is 100 iterations into optimization after being called with the first image as the -init_image arg. The only change in arguments is a slightly higher -style-weight. It doesn't look any different from how it would if it were initialized randomly.

image image

ProGamerGov commented 3 years ago

@petered Are you using -init image -init_image image.jpg? Because -init_image only works when the initalization is set to image?

petered commented 3 years ago

oooohhh no I bet that's it. Thanks