3 ms·
I'm actually looking to learn PyTorch. Where's the best place to start?
by applecrazy 7y ago
I'm actually looking to learn PyTorch. Where's the best place to start?
- travisporter 7y agoPytorch website has a “blitz” tutorial that was fantastic.
- rm_-rf_slash 7y agoIf you have any existing ML/DL experience, picking up PyTorch is a breeze. You could get a pretty solid understanding of the framework with an MNIST handwritten digit recognition model over the course of an afternoon, so don’t sweat looking for the “right” tutorial.
- applecrazy 7y agoAwesome, I've done some ML before. I'll just dive into the docs.
- mitchellgoffpc 7y agoHighly recommend it! I love pytorch so much, it's basically numpy with automatic backprop and CUDA support. It evaluates eagerly by default, which makes debugging a lot easier since you can just print your tensors, and IMO it's much simpler to jump between high-level and low-level details in pytorch than in tensorflow+keras. Just as one example, activation functions in pytorch are applied by calling a python function on your layer, instead of passing a string argument with the function name to the layer constructor, so you write layer = F.relu(Linear()(input)) instead of layer = Dense(activation_fn='relu')(input) As a result, it's a lot more straightforward to try out custom activation functions in PyTorch.