-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Has anyone been able to match Ostagram results? #240
Comments
Did you try, Ostagram? |
As far as I can see, https://github.com/SergeyMorugin/ostagram is only a web front-end and uses neural-style for the actual style transfer. This, of course, does not exclude the possibility that the actualOstagram service is using a modified version of neural-style. |
Yeah. Their results come out quite a bit better than mine, so I am trying to determine which settings they are using (I have grabbed some high resolution input images from their site and I am messing around with the settings to get closer). |
StryxZilla, do you have any results ? what settings ostagram uses. |
Fwiw I found putting in -init image as suggested in the ostagram forums really helped improve the quality. And suddenly more iterations seem to be making a difference too. |
yes, i found it too yesterday. i get very close result with these options: -content_weight 100 -style_weight 1500 -init image -normalize_gradients. |
@minxdragon yeah, my results with random init haven't been good. @Inkognitovsky, I will give those settings a shot. Let me know if you get that fork to give better results through layer weighting modification. |
what's this ostagram forum? I'm messing with the normalized gradients but I think a ratio of 100/1500 is a bit too low. @Inkognitovsky how do you pick your style relus? do you use the default ones? |
Using this command:
How do I get the Would this achieve the task?
|
First you need to know which style layers you are using. The weights need to be given in the same order. In that command line you are using the default style layers: relu1_1,relu2_1,relu3_1,relu4_1,relu5_1. To increase the weight of style layer relu4_1, set -style_layer_weights 1,1,1,10,1 Assuming you are using my version with style layer weights. This discussion is, as far as I know, about the original neural_style. |
@htoyryla I am using the default layers.
This is what I was wondering about, thanks for the answer! |
@Inkognitovsky Any progress on farther refining the settings to resemble Ostagram's results? |
@htoyryla Heya, could you update your repo and merge with most recent jcjohnson? I couldn't get |
I'd rather not, sorry to say. Style layer weights was an experiment that made sense back then. After that, jcjohnson made a complete rewrite of his code. I've done lots of experiments with neural-style code, but don't really have time and interest to maintain old experimental code. |
I am curious if anyone has been able to match these results. I can't seem to get close. If you have, what sort of settings are you running?
The text was updated successfully, but these errors were encountered: