Live data from Hacker News

Deep Learning with PyTorch: A 60 Minute Blitz [video]

pytorch.org

41–50 of 62 posts

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#41
post #21

One thing I've noticed is that it's quite hard to have vibrant discussions about DL because it is all either so simple or it is dauntingly complicated/unpredictable. Mostly my DL conversations end up being about frameworks. Anyone else experience this? Also the number of DL submissions on HN seems surprisingly low given the applicability of the technology.

It's pretty easy when you're talking to people who understand the fundamentals of deep learning, but that understanding isn't very common even on HN. I think that's because the real-world, valuable usecases of DL are not very accessible:

(a) DL is pretty complicated in a way that's unfamiliar to most software engineers. You are consistently working with Tensors that have a couple more dimensions than people are used to holding in their heads (i.e. images mean you are typically working with 4D Tensors).

(b) You learn from academic papers, not blogs. It's a new workflow for many software people and intimidating to some (although the papers are usually closer to blog posts than rigorous academic papers).

(c) It's very difficult to learn deep learning on your own without it getting pretty expensive. Advanced uses pretty much require GPUs/TPUs and that's either a big upfront purchase or a serious per-experiment cost.

(d) Deep Learning is not a single field. It is CV, NLP, RL, speech recognition and probably others I'm forgetting about. They overlap, but it further reduces the number of people you can have informed discussions with because being knowledgeable about computer vision does not mean you are able to have a vibrant discussion about NLP.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#42

Anyone know somewhere that has a good overview of the various ML and DL model types and what they are good for? I've been looking for a survey paper or book or just a glossary of ML.

When you hear autoregressive model, think “predicting a sequence”. These are good for text to speech since you can say “given some text, generate a spectrogram.” GPT-2 is probably the most impressive example of autoregressive techniques (I think). GANs, and especially stylegan, are good for generating high quality images up to 1024x1024. These take about 5 weeks to train and $1k of GCE credits. The dataset size is ar…

StyleGAN can be trained significantly faster than 5 weeks (although cost is still ridiculous). I thought StyleGAN used inception distance.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#43
post #12

Very good that Pytorch emerged as a serious contender to TF. While TF still provided more production grade tools (TFX, TensorRT, TF serving), Pytorch continue to evolve and hope soon we have a more complete ecosystem

I really like JAX as well: https://github.com/google/jax . It's younger than PyTorch and TF, but feels cleaner and more expressive. It has a very nice autodiff implementation (based on https://github.com/HIPS/autograd ) and performance is comparable to TF in my experience.

It feels like JAX doesn't have any of the high-level APIs that PT/TF/MXNet that are vital for fast prototyping of model architectures. Is that correct?

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#45
post #15

Ugh its so easy compared to what i've been wrangling in tensorflow.

Keep in mind that tutorials will always make it look easy compared to debugging actual production code. If you look through tensorflow tutorials, they also look very easy, especially with TF2.

That said, I've experimented with pytorch and I agree that it is really nice to work with.

Disclaimer: I work at Google and do use tensorflow, though I don't work on the tensorflow team.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#46
post #12

Earlier quoted context omitted.

I really like JAX as well: https://github.com/google/jax . It's younger than PyTorch and TF, but feels cleaner and more expressive. It has a very nice autodiff implementation (based on https://github.com/HIPS/autograd ) and performance is comparable to TF in my experience.

It feels like JAX doesn't have any of the high-level APIs that PT/TF/MXNet that are vital for fast prototyping of model architectures. Is that correct?

It has stax, which is a minimal example of how to build a high level library: https://github.com/google/jax/blob/master/jax/experimental/s...

It seems that the JAX developers are focusing their time on making the core framework better and are leaving the task of building high-level APIs to the community for now. I suspect we'll see a few high-level APIs emerge over the next few months that explore different approaches before the community settles on a particular one.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#47
post #37

I posted this link but now the title has somehow changed. I do not know what is the policy on HN. But the title saying "[video]" might give a wrong impression that this points to a one hour long video. The link points to a tutorial which embeds an entirely optional two minute video that introduces the main content contained in five web pages.

I was very confused when I clicked the link, spent a while looking for the full video.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#48
post #46

Earlier quoted context omitted.

It feels like JAX doesn't have any of the high-level APIs that PT/TF/MXNet that are vital for fast prototyping of model architectures. Is that correct?

It has stax, which is a minimal example of how to build a high level library: https://github.com/google/jax/blob/master/jax/experimental/s... It seems that the JAX developers are focusing their time on making the core framework better and are leaving the task of building high-level APIs to the community for now. I suspect we'll see a few high-level APIs emerge over the next few months that explore different approache…

I hope not. That's part of what makes TF so miserable - the core library didn't provide the tooling people actually needed so the community built a ton of different tools and it just made TF confusing to use.

Re: Deep Learning with PyTorch: A 60 Minute Blitz [video]

#50

Earlier quoted context omitted.

can we see some of the "ml algos" you've built? in particular your autodiff engine

They're all owned by my firm lol, I can't share anything like that

https://media.giphy.com/media/gBpY4p7bbhsiI/giphy.gif
Post reply on HN