Lurker News

Comments (83) 43 threads

Earlier comments
smaili#
Well done! Also important to note this project is one of the 10 recipients of the Spring 2017 AI Grants[1].

[1] https://aigrant.org/#finalists

motoboi2 replies#
Could someone explains whats is going on here? What are the steps? Why those colorful artifacts appear before the final result?
dordoka#
It´s just a demo of an upcoming open source API that allows running deep neural network models on the browser.

Steps (disclaimer: I´m not related to the creators, so this is just what I understand it does)
1.- You upload your image
2.- Select an image to be the origin of the style
3.- Downloading Model: downloads a trained (on style transfering) deep neural net
4.- Colorful artifacts: the model is applied to your image. Probably the artifacts are a visualization of the network weights being transformed to WebGL shaders, or just a simple visualization of the internal hidden steps of the transformation
5.- You get your image with the style applied

antimatter15#
It's showing a visualization of all the intermediate activations of the style transfer network. The intermediate pictures are 4D, so they're visualized as a sequence of tiles.

The network being run is defined here https://github.com/lengstrom/fast-style-transfer/blob/master...
This post provides a pretty good explanation of what's happening: https://shafeentejani.github.io/2017-01-03/fast-style-transf...
There's a sequence of 9x9 and 3x3 convolutions that transforms that one big input image into a bunch of smaller images. They're processed by a sequence of residual convolutions. Finally, these tiny tiles are merged together back into a stylized image of the same size as the original input with a few deconvolution operations.

rjeli#
Really cool - just want to point out that the flashing rectangles might trigger epilepsy. I'm not sure if they're intended, but on Chrome on Linux I get a bunch of 1 frame brightly colored rectangles flashing before the result. Might want to disable that or put a warning to avoid an accident.

That said, well done, very impressive project!

nametube1 reply#
"running networks in the browser with TensorFire can be faster than running it natively with TensorFlow."

could you elaborate on this statement ?. What kinds of architectures does this hold true for ?.

plingamp#
From the github issue referenced in the FAQ, I think they mean that because TensorFlow only natively supports CUDA, TensorFire may outperform TensorFlow on computers that have non Nvidia GPUs, such as the new MacBook Pro.

Load more comments