petewarden

Joined 18 years ago

Karma
4,060
Submissions
397
Member since
Oct 11
ex-Apple, recovering game programmer, Techstars solo founder of Mailana, blogger at http://petewarden.typepad.com/

Email me via [email protected]

View on Hacker News

Recent submissions

Comment · 9 years ago
One nice thing about Lite is that it's a lot easier to just include the operations you need (compared to TensorFlow 'classic'), there's fusion for common patterns, and the base interpreter is only 70KB. That covers a lot of the advantages of using XLA for mobile apps. In return you have the ability to load models separately from the code, and the ops are hand-optimized for ARM.

I'm still a fan of XLA, and I expect the two will grow closer over time, but I think Lite is better for a lot of scenarios on mobile.

Comment · 9 years ago
I'm the original author of the freeze_graph script, so I'm to blame for a lot of the on-going mess here. For what it's worth I'm actively working on cleaning this up, since I know what a painful experience it is. Apologies for everyone who's struggled with this, and I will take a look at the case number mentioned above and follow up internally to see if there's anything I can help with.
Comment · 9 years ago
I'm not going to cover it in detail in my talk, but the code with some barebones documentation is available at https://github.com/tensorflow/tensorflow/tree/master/tensorf...

One thing to note is that this isn't available on production phones yet, because we need a signed driver to run within Android. You should be able to run this on a Dragonboard 820 development board though, using the instructions in the README.

This is all very new though, so apologies in advance for any hiccups getting up and running. My email's petewarden at google.com if you are trying this and hit problems.

Comment · 11 years ago
Yes, that was my screwup, sorry for any confusion! Despite multiple linear algebra courses, working in 3D graphics for a decade, I haven't internalized the basics of matrix notation. It doesn't help that my usual sandbox (Eigen) is column major by default, which is the wrong in-memory order for my raster-image trained brain to visualize. Funnily enough, I find tensor notation a bit easier, despite being less familiar.
Comment · 12 years ago
I found college completely crushing, especially because I'd built up wild hopes for it as an escape from my unhappy childhood. I don't have any easy answers, but here's some of the tools that helped me:

- Exercise. I know, it sounds dumb, especially when you're depressed and have no energy, but it's an incredibly effective way of hacking your brain chemistry. Run, swim, bike, hike, just pick one and pour all your frustration, anger, and sadness into it.

- Get a hobby. I spent a lot of time worrying about being interesting to others, which guaranteed I wouldn't be. Being interesting is a many-body problem with lots of unknowns, but being interested is way more solvable. You can figure out what you like a lot more easily than you can guess what might make other people like you. Don't rule something out because it seems dorky, I guarantee you'll find other people who enjoy it too, even if it's Lego or collecting old maps. It's surprisingly hard to understand what you actually want though, especially if you've been focused on what other people think.

- Beware of magical transformations. I got married at 19, driven by an overwhelming desire to completely change my life to find happiness. It didn't work. I also took a lot of drugs. That didn't work either. I saw people get pulled into cult-like religions or extreme political groups. Drastic exterior changes don't alter who you are, you'll still have the same problems, no matter what anyone tells you. Focus on boring incremental improvements, like exercise and hobbies. I hated that idea, because I was in love with my life being dramatic and the basic stuff seemed so mundane, but it's what ended up making a lasting difference.

I doubt I'd have even listened to my present-day self when I was 19, but I hope there's something in there that helps you. Life really does get better.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton