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
From there, it's really just as simple as passing it all to `Learner` and having it go from there!
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:
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
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
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
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