[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"project-14894653":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":47,"post_text":48,"what":49,"said":79,"maker_in_thread":189,"shape":197,"grid":202,"attempts":443,"same_week":444,"maker_shows":306,"maker_hidden":473,"reader_version":474,"card":475},"14894653","TensorFire","Hey HN!","maker","Show HN: TensorFire","https:\u002F\u002Ftenso.rs\u002Fdemos\u002Ffast-neural-style\u002F","tenso.rs","antimatter15",1501525613,2017,564,83,16,2242,1,"legend","ai","in-browser neural network inference","library",[24,25,26,27],"webgl","neural network inference","browser machine learning","tensorflow","mixed",0.14,{"positive":31,"neutral":32,"mixed":33,"critical":34},23,22,2,14,61,{"idea":37,"execution":40,"design":43,"performance":44,"docs":46},{"positive":38,"critical":39},3,0,{"positive":41,"critical":42},4,10,{"positive":38,"critical":39},{"positive":45,"critical":38},5,{"positive":18,"critical":18},[45,38,45,38,45,38,45,39,45,38,45,45,38,38,45,39,18,18,38,39,39,39,38,18,18,45,33,38,38,39,18,45,45,45,38,45,38,45,38,38],null,{"problem":50,"audience":48,"pricing":48,"motivation":48,"time_to_build":48,"stack":58,"openness":77,"stage":78,"team_size":77},{"value":51,"source":52,"evidence":53},"Running trained neural networks in the browser without shipping user data to servers.","commenter",[54],{"id":55,"by":56,"text":57},"14895511","bijection","Yes, you are correct! Training benefits much more from available memory through batching and, since in many cases you only need to train once, it usually makes sense to train on…",[59,70],{"value":60,"source":52,"evidence":61},"WebGL",[62,66],{"id":63,"by":64,"text":65},"14895547","iXce","> as fast as CPU TensorFlow on a desktop > You can learn more about TensorFire and what makes it fast (spoiler: WebGL) Does this mean that using a GPU in a browser through WebGL…",{"id":67,"by":68,"text":69},"14895881","symlinkk","Actually it seems like WebGL is doing it even faster. Which makes sense - machine learning involves a lot of matrix math, which GPUs are made for and CPUs aren't.",{"value":71,"source":52,"evidence":72},"TensorFlow models",[73],{"id":74,"by":75,"text":76},"14895832","batmansmk","This is awesome! Quick question: is the code compiled from js to webgl in browser as well, or do I need to compile beforehand? I see this as a great way to learn and teach AI…","unknown","beta",{"praise":80,"objections":107,"requests":144,"questions":171,"alternatives":180},[81,96],{"value":82,"source":52,"evidence":83},"Impressive, fun style transfer demo",[84,88,92],{"id":85,"by":86,"text":87},"14896248","dgacmu","Very nice work, folks. Impressive, and very well-put-together demo. That's the easiest neural style transfer demo I've ever used - and the most fun. (Other than a minute of…",{"id":89,"by":90,"text":91},"14896913","ehsankia","It's quite unreal. I remember when the paper and initial implementations came out less than 2 years ago, you had to go through this really long setup process that only worked on…",{"id":93,"by":94,"text":95},"14895923","ccheever","This is amazing. Very cool.",{"value":97,"source":52,"evidence":98},"Fast inference speed",[99,103],{"id":100,"by":101,"text":102},"14896201","cpcarey","Amazing work! That was incredibly fast (2013 MBA 13\" 1.7 GHz i7, Intel HD Graphics 5000 1536 MB, Chrome 59).",{"id":104,"by":105,"text":106},"14898357","hackpert","Inference speed looks brilliant. Eager to read the source! (Also, somehow I had a feeling before even reading that this project was by the people who made Project Naptha etc.…",[108,127,138],{"value":109,"source":52,"evidence":110},"Demo crashed or froze browsers and machines",[111,115,119,123],{"id":112,"by":113,"text":114},"14896390","hughes","Hmm, this seems to lock up & crash my whole browser (Chrome 59, windows, nvidia graphics) when I try to run any of the examples. It gets past Downloading Network, then gets about…",{"id":116,"by":117,"text":118},"14896636","tambourine_man","Didn't work here, just a bunch of colored squares on Safari, Chrome or Firefox. The latter actually managed to hang my machine. I could ssh to it but kill -9 wouldn't terminate…",{"id":120,"by":121,"text":122},"14897287","synt","hey, stop it. i'm running 55.0b13 (64-bit) firefox on windows 10 and clicking on that demo froze the browser, froze my box - hard reboot. whatever you're doing some of it's…",{"id":124,"by":125,"text":126},"14895939","aluhut","Respect. This pretty much killed the PC I'm on now. Wasn't even able to get to the task manager :D Windows7, Firefox 54(64bit)",{"value":128,"source":52,"evidence":129},"Failed to upload large images or download results",[130,134],{"id":131,"by":132,"text":133},"14898326","NKCSS","If I upload a 6MB image from my Canon, the site\u002Fbrowser (chrome) crashes. Example images work fine.",{"id":135,"by":136,"text":137},"14895596","sonofaragorn","This is really cool! Great work! I wanted to download the resulting image but got a \"Failed - Network\" error :(",{"value":139,"source":52,"evidence":140},"Speed claims over GPU are misleading",[141],{"id":142,"by":64,"text":143},"14896428","This is actually what I'd expect, but the website feels quite misleading. Advertising that a GPU-based approach can outbeat a CPU for neural nets is not a very strong commercial…",[145,160],{"value":146,"source":52,"evidence":147},"Release the source code and repository",[148,152,156],{"id":149,"by":150,"text":151},"14895018","cs702","Where is the repo?",{"id":153,"by":154,"text":155},"14908182","GChevalier","No GitHub?",{"id":157,"by":158,"text":159},"14898398","gilbertstein","is there a way to download and play with it?",{"value":161,"source":52,"evidence":162},"Benchmark comparisons",[163,167],{"id":164,"by":165,"text":166},"14896254","mzh0","Do you have benchmark number like FLOPS compared to GPU \u002F CPU?",{"id":168,"by":169,"text":170},"14895865","espadrine","How does it compare to WebDNN[0]? It seems like a closer comparison, especially with WebGPU. It would be good if you had a comparative benchmark on the website. [0]:…",[172],{"value":173,"source":52,"evidence":174},"How does it compare to keras-js and WebDNN",[175,179],{"id":176,"by":177,"text":178},"14895010","zitterbewegung","Really cool demo. How does this compare to https:\u002F\u002Fgithub.com\u002Ftranscranial\u002Fkeras-js ? Do the authors have a licence in mind?",{"id":168,"by":169,"text":170},[181,185],{"value":182,"source":52,"evidence":183},"keras-js",[184],{"id":176,"by":177,"text":178},{"value":186,"source":52,"evidence":187},"WebDNN",[188],{"id":168,"by":169,"text":170},{"comments":33,"answered":18,"key":190},[191,194],{"id":192,"text":193},"14895128","Hey HN! We're really excited to finally share this with you all! This is the first of a series of demos that we're working to release this week, and we're hoping you'll keep us…",{"id":195,"text":196},"14895565","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.…",{"commenters":198,"max_depth":199,"maker_replies":33,"first_comment_mins":200,"lifespan_hours":201},69,7,43,298,[203,205,209,211,215,218,221,223,227,229,231,232,235,239,243,246,249,250,253,254,257,259,262,264,267,270,273,275,280,283,286,290,294,297,298,301,304,308,310,313,316,318,321,323,326,328,330,331,335,338,341,345,348,350,352,353,355,360,364,366,369,373,376,381,385,387,391,395,398,402,406,410,412,414,418,421,424,427,430,432,434,438,440],[192,39,39,204,11,18],"maker\u002Fneutral\u002Fnone",[206,39,45,207,208,39],"14895260","project\u002Fpositive\u002Fnone","rahimnathwani",[55,39,38,210,56,39],"project\u002Fneutral\u002Fidea",[212,39,38,213,214,39],"14896199","project\u002Fneutral\u002Fexecution","incompatible",[216,39,45,217,158,39],"14898396","project\u002Fpositive\u002Fexecution",[219,39,45,217,220,39],"14896233","ZeroCool2u",[89,39,45,222,90,39],"project\u002Fpositive\u002Fidea",[224,39,18,225,226,39],"14897805","project\u002Fcritical\u002Fexecution","SimbaOnSteroids",[85,39,45,228,86,39],"project\u002Fpositive\u002Fdesign",[164,39,38,230,165,39],"project\u002Fneutral\u002Fperformance",[131,39,18,225,132,39],[233,39,45,217,234,39],"14905333","Zeklandia",[236,39,45,237,238,39],"14908839","maker\u002Fpositive\u002Fnone","Bondifrench",[240,18,39,241,242,39],"14895810","other\u002Fneutral\u002Fnone","danicgross",[244,18,39,241,245,39],"14897517","backpropaganda",[247,18,39,241,248,39],"14898650","badlogic",[176,33,38,210,177,39],[251,33,45,252,56,39],"14895105","project\u002Fpositive\u002Fperformance",[168,33,38,230,169,39],[255,33,39,256,56,39],"14895944","commenter\u002Fneutral\u002Fnone",[258,33,38,210,177,39],"14895986",[260,38,45,252,261,39],"14895520","mholt",[263,38,39,241,86,39],"14896264",[265,41,45,207,266,39],"14895486","smaili",[268,45,38,210,269,39],"14895292","motoboi",[271,45,38,210,272,39],"14895497","dordoka",[195,45,39,274,11,18],"project\u002Fneutral\u002Fdesign",[276,277,38,278,279,39],"14897285",6,"project\u002Fmixed\u002Fdesign","rjeli",[281,199,38,230,282,39],"14895314","nametube",[284,199,38,230,285,39],"14895537","plingamp",[287,288,45,228,289,39],"14895269",8,"caio1982",[291,292,39,241,293,39],"14895723",9,"fabian2k",[295,292,39,241,296,39],"14899109","fulafel",[112,42,18,225,113,39],[299,42,18,225,300,39],"14896465","singularity2001",[302,42,18,225,303,39],"14898856","tmbsundar",[305,306,39,241,307,39],"14897327",11,"Dowwie",[116,309,18,225,117,39],12,[311,309,45,217,312,39],"14896698","oatmealsnap",[314,309,39,256,315,39],"14896992","spartanatreyu",[317,309,39,256,117,39],"14897235",[319,309,39,256,320,39],"14897293","ChristianBundy",[322,309,39,241,117,39],"14903850",[324,309,39,241,325,39],"14905599","sharkoz",[327,309,39,241,117,39],"14910236",[135,329,18,225,136,39],13,[74,34,45,222,75,39],[332,333,18,225,334,39],"14895502",15,"uyoakaoma",[336,16,18,225,337,39],"14896528","fletchowns",[339,16,18,225,340,39],"14896710","slenk",[342,343,38,274,344,39],"14898787",17,"martinmusio7",[346,343,39,256,347,39],"15001411","hobarrera",[104,349,45,252,105,39],18,[63,351,38,230,64,39],19,[67,351,38,230,68,39],[142,351,18,354,64,39],"project\u002Fcritical\u002Fdocs",[356,357,38,358,359,39],"14895009",20,"project\u002Fmixed\u002Fexecution","jstsch",[361,362,38,210,363,39],"14895378",21,"arnioxux",[365,362,38,210,282,39],"14895454",[367,32,39,241,368,39],"14895398","narrator",[370,32,39,371,372,39],"14895458","commenter\u002Fneutral\u002Fidea","binarymax",[374,31,39,241,375,39],"14898413","realworlddl",[377,378,18,379,380,39],"14895717",24,"project\u002Fcritical\u002Fperformance","zo1",[382,378,39,383,384,39],"14896187","commenter\u002Fneutral\u002Fperformance","SXX",[100,386,45,252,101,39],25,[388,389,38,210,390,39],"14898631",26,"dizzy3gg",[392,393,38,210,394,39],"14897422",27,"shams93",[396,397,45,222,296,39],"14895239",28,[399,400,45,207,401,39],"14896395",29,"udia",[403,404,45,252,405,39],"14896346",30,"jacquesm",[407,408,45,228,409,39],"14896063",31,"ruste",[124,411,18,379,125,39],32,[93,413,45,207,94,39],33,[415,416,45,207,417,39],"14895321",34,"draaglom",[149,419,38,420,150,39],35,"project\u002Fneutral\u002Fdocs",[422,419,38,423,56,39],"14895066","maker\u002Fneutral\u002Fdocs",[425,419,45,426,150,39],"14895518","maker\u002Fpositive\u002Fdocs",[428,419,38,210,429,39],"14895615","ldenoue",[157,431,38,420,158,39],36,[153,433,38,420,154,39],37,[435,436,45,207,437,39],"14895983",38,"setgree",[120,439,18,379,121,39],39,[441,439,39,383,442,39],"14897354","usefulcat",[],[445,450,455,460,464,469],{"id":446,"name":447,"points":448,"category":449},"14865043","The JavaScript Way",545,"learning_science",{"id":451,"name":452,"points":453,"category":454},"14911372","Bt",254,"languages",{"id":456,"name":457,"points":458,"category":459},"14869138","EchoMods",227,"hardware",{"id":461,"name":462,"points":463,"category":454},"14896455","see-phit",175,{"id":465,"name":466,"points":467,"category":468},"14865666","Nuclino",133,"productivity",{"id":470,"name":471,"points":472,"category":449},"14865184","A 2D Physics Simulator in JavaScript",126,false,"v2",{"id":476,"name":5,"line":6,"ai":473,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":477,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":478,"url":9,"mix":479,"praise":82,"objection":109,"sub":21},14894653,[24,25,26,27],"5353535053553350113000311523301555353533",[31,32,33,34],1794036557807]