๐ŸŽ‰๐ŸŽ‰New Blog Alert!๐ŸŽ‰๐ŸŽ‰

Come learn how to integrate your @PyTorch into @fastdotai with the most minimal fastai possible!

What does this entail?

- Pytorch Datasets
- Pytorch DataLoaders
- Pytorch Models

But, is it really so easy as advertized?

muellerzr.github.io/fastblog/2021/โ€ฆ
Let's find out. In total, this article used four @fastdotai imports to have full access to the training loop and pretty fit outputs:

Optimizer, DataLoaders, Learner, and ProgressCallback Image
From there, it's really just as simple as passing it all to `Learner` and having it go from there! Image
It should be noted that if you want @fastdotai's `fit_one_cycle`, `fit_flat_cos`, etc methods, then the import should be adjusted to: Image
I hope this helps alleviate some confusion and blocking for folks wanting to quickly utilize @fastdotai's training loop, this was honestly the most minimal I could get.
Some folks were likely hoping for me to show how to use a raw Pytorch optimizer in the framework, and sadly it's not quite as simple as plug and play, this is due to @fastdotai's new optimizer setup, which Jeremy discusses in this video:
However what their new optimizer framework has done instead is make Optimizers much more relatable to each other. They noticed where similarities existed, so now SGD's is simply a few lines of code, vs Pytorch's 30 or so Image

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Zach Mueller

Zach Mueller Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TheZachMueller

4 Feb
Thread on the recent drama:

At the end of the day, it's not about who copied who. It's about taking and using the ideas of some other library (which also is published paper), without giving the proper attribution in your GitHub or documentation, which gets the most traffic. 1/7
And don't even *try* to claim to do something revolutionary, when in reality it's something others have taken months and years to build, and youโ€™re simply taking notes (or more). 2/7
Open source frameworks and the evolution of these libraries build upon each other. Thatโ€™s the definition of a community. You look at whatโ€™s being used, where their weakness are, their strengths, and you start tweaking. 3/7
Read 9 tweets
28 Dec 20
Today Iโ€™ve come across some wonderful @fastdotai YouTube channels with some excellent content! Below is a thread of my findings for folks to check out (Iโ€™ve subscribed to them all!) 1/
First and foremost we have the wonderful work coming out of @ai_fast_track. Along with the #IceVision videos heโ€™s also done quite a number of videos exploring the @fastdotai API with some EXCELLENT videos, Iโ€™m certainly taking notes youtube.com/channel/UCht9jโ€ฆ
Next we have some videos by @philwhln. His first two short videos on #fastbook show some great insights into dealing with issues he had, and a great overview of the first few chapters 2/ youtube.com/user/philwhln
Read 9 tweets
21 Aug 20
To co-inside with the official @fastdotai release, I am publishing "Zero to Hero" articles to help YOU up to speed! 1/
The first introduces the library and quickly examines what's new, a perfect start for beginners and experts alike. We will cover just what @fastdotai is, how its used, and the goal of the library: muellerzr.github.io/fastblog/2020/โ€ฆ 2/6
The second assumes that you are familair with the original library (@fastdotai v1). We'll compare 1:1 examples of the API, go deep into the High-Level API, and discuss what some of the best new tricks are: muellerzr.github.io/fastblog/2020/โ€ฆ 3/6
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!