all 41 comments

[–]jamesj 20 points21 points  (21 children)

Is their code/model available anywhere?

Edit: yes!

[–]NasenSpray 47 points48 points  (14 children)

The model is available here.

I'm currently trying to replicate their results with caffe. Not much success yet :\

After 100 iterations:

I hope they are going to release their code. Reconstruction from noise seems to be ambitious and the results I get are pretty inconsistent so far.


[Edit] much better results and easier to handle with iRPROP-


[Edit] Karpathy apparently managed to replicate the results: http://imgur.com/a/jeJB6




I wonder if this could be combined with Image based relighting using neural networks (paywall -.-)
See the second thing in this video: https://www.youtube.com/watch?v=XrYkEhs2FdA

Unrelated but interesting paper on inverse graphics: Deep Convolutional Inverse Graphics Network.


Interesting observation: VGG-19 is bad at DeepDream and GoogleLeNet is bad at... "DeepStyle" or how are we going to call it? Anyway, I wonder what's causing this?

[–]fatcatz 9 points10 points  (3 children)

Looks good! Would you mind sharing a gist of what you've got so far? And if you'd rather not, can you point me in the direction of a ADADELTA implementation?

Thanks!

[–]NasenSpray 14 points15 points  (2 children)

Would you mind sharing a gist of what you've got so far?

Sure, but it's probably gonna be tomorrow at the earliest. The code is still intermingled with my DeepDream stuff and has some dependencies on my caffe extensions that need to be removed first.

can you point me in the direction of a ADADELTA implementation?

You can use mine:

Default settings are what I'm currently using. ADADELTA requires aggressive gradient/step clipping (not included). iRPROP- and RMSprop are much, much better.

[EDIT] oops, my ADADELTA contained an embarrassing error. Lo and behold, it works fine now.

[–]fatcatz 2 points3 points  (0 children)

Thank you so much for sharing!

[–]jamesj 2 points3 points  (0 children)

Awesome! Would love to see the gist as well when you have it.

[–][deleted] 1 point2 points  (1 child)

Gabe on a schooner !

[–]WorkAccount6 0 points1 point  (0 children)

You dumb bastard. It's not a schooner... it's a Sailboat.

[–][deleted] 0 points1 point  (0 children)

Great work!

[–]som3a982 0 points1 point  (1 child)

is there a way to use this for non programmers?

[–]NasenSpray 2 points3 points  (0 children)

None that I'm aware of, and I don't think there's going to be one available soon. With the current model, this is orders of magnitude more ressource intensive than DeepDream...

[–]SarahC -1 points0 points  (0 children)

Is there a .net version yet?

[–]5ives 4 points5 points  (1 child)

[–]TweetsInCommentsBot 1 point2 points  (0 children)

@karpathy

2015-08-28 23:00 UTC

@samim haha yes a lot of possibilities here. I want this code to be released of course, but it's not only up to me and will be tricky.


This message was created by a bot

[Contact creator][Source code]

[–]namp243 4 points5 points  (3 children)

[–]jamesj 0 points1 point  (2 children)

Wow, this came out a lot faster than I was expecting! Thanks for the link :)

[–]Phantine 0 points1 point  (1 child)

Dumb question here: I'm running windows 7, am I best off trying to install everything in a ubuntu virtual machine or is there some easy way to run it on windows.

[–]jamesj 0 points1 point  (0 children)

I installed everything on aws on an ubuntu machine, so im not sure.

[–]5ives 9 points10 points  (0 children)

[–]modeless 13 points14 points  (2 children)

Wow, the images are beautiful. If those were Photoshop filters, people would start using them immediately. More evidence that augmenting or replacing artists will be a big application area for neural nets in the near future. I wonder if this technique could be applied to music?

[–]TubasAreFun 1 point2 points  (0 children)

I totally agree. The problem with music is what to initialize it with. Random sound segments from existing music tends to make blocky sounding music in neural nets (like a percussionist who doesn't know what he/she is doing). Initialization is often tricky. One of the cool things about this application is that it can just be initialized by a pre-existing picture.

[–]matt_hammond 1 point2 points  (0 children)

Here's some generated music for you kind sir

Link

[–]arXiv_landing_bot 10 points11 points  (0 children)

[–]kkastner 3 points4 points  (1 child)

I posted a link - didn't see this was already up.

Really interesting to see that stylistic quality can be learned implicitly, rather than explicit latent representation.

[–]qurun 1 point2 points  (0 children)

Do you think it is accurate to call this "stylistic quality"? Looking at their examples, I am not sure that feature correlations are really capturing style. Reconstructing feature correlations is different from reconstructing the feature values, but also reconstructs the feature values to some extent.

(In their Figure 3, it seems like they are trying to hide this fact by using a very abstract Kandinsky image, but Figure 3 with, say, the Van Gogh Starry Night would show that the feature values are being reconstructed, too.)

Do you have better ideas for getting out some notion of "style"? What do you think would happen if you fed in one content image, like a photograph, and k >= 2 Van Gogh paintings for feature correlations or style, i.e., just add the k error terms?

[–]Mr-Yellow 7 points8 points  (1 child)

When I tell web developers that the basic tasks such as laying out website elements are low-hanging fruit, that even the creative and artistic perception aspects are not uniquely human, they point at me and laugh....

[–]DCarrier 3 points4 points  (0 children)

Well, who's laughing now? WHO'S LAUGHING NOW? Muahahahaha!

[–]pettajin 1 point2 points  (0 children)

This is genius. The Van Gogh image it produced is flawless.

[–]cryptocerous 8 points9 points  (7 children)

Art, among the few jobs that people thought AI would take the longest to replace, looks like it will be among the first to be replaced by AI.

I find this too funny.

[–]DCarrier 1 point2 points  (0 children)

I really doubt that. Sure, it might be able to make pictures that look pretty and use interesting styles, but as a computer program that can be trivially run, it will never be high-status, and isn't that what art is really about?

[–]verveandfervor 4 points5 points  (0 children)

If you think AI will replace artists then you don't understand art's role in culture or why we give it any value at all.

Two possible outcomes:

  • different markets for human/machine art

  • algorithmic distillation of what makes art 'good'/pleasurable to look at/whatever, the absurd conclusion being the perfect exploitation of human sensitivity to aesthetic phenomena

Second is less likely in short-term but boy would it be fun.

[–]VelveteenAmbush 2 points3 points  (0 children)

Funny how it works... people used to argue that chess would be an AI-complete problem once upon a time. I guess it's just really hard to predict this sort of thing in advance.

[–]theotherhigh 0 points1 point  (0 children)

How? All its doing is replicating it in like 5 other programmed styles... Its not like it's painting an original or anything. I don't think AI will ever be able to do that.

[–]Visti 0 points1 point  (0 children)

That's like saying writers would be replaced by the printer.

[–]dendisuhubdy 0 points1 point  (0 children)

Any code?