Couldn't make a new discussion - limited because new user;
https://forums.fast.ai/t/fastai2-and-new-course-release-date-aug-21st/75684/84?u=armatav
I'm running the latest version in Paperspace, and I see the following comment in the book;
Full and Stripped Notebooks: There are two folders containing different versions of the notebooks. The full folder contains the exact notebooks used to create the book you're reading now, with all the prose and outputs. The stripped version has the same headings and code cells, but all outputs and prose have been removed.
Unfortunately, not only is there no course-v4/nbs/full or course-v4/nbs/stripped folders in the repo - which makes sense because the course is changing all the time, maybe they don't exist anymore - but it seems that even inside of the fastbook/clean folder, the outputs are still visible.
This is an image of what it looks like to open course-v4/nbs/14_resnet;

Here is what it looks like to open fastbook/clean/14_resnet

Here is fastbook/14_resnet

Note, each example has the outputs pre-displayed below the cell. (The four images)
I may be in the minority here, but when the notebooks show the output, it really takes the magic of seeing everything "going" away. Devil's advocate here, obviously doesn't apply to people very focused on learning the content, but why run the model if I already see 16 cat images with probabilities below them.
Essentially, I don't want to be "spoiled", I want to actually wait the 20 minutes to train some big model and get rewarded the hard way. The only thing better than that I would say is a function definition with some comments;
# Cell
def train_new_model():
batch_size = 12
# 1. Make sure you load in the learner!
# 2. Make sure you've got the data ready from "some_global"!
# 3. Begin training and print the outputs - hint: docs.fastai.com/logging/print_stuff
I want hardmode, and since there's nothing like the above right now, where can I find the stripped notebooks?
馃槂
Also just to clarify; I know those are displaying the data outputs, but there is still pre-displayed model outputs in other locations, the images are just examples of what I mean.
Here's a solution for anyone else who wants to go through with wiped outputs;
!pip install nbstripout==0.3.7 -q
files_in_directory = !ls
notebooks_in_directory = list(filter(lambda file: file.endswith(".ipynb"), files_in_directory))
!nbstripout {" ".join(notebooks_in_directory)}
Copy it into a cell, run it, then shutdown that notebook, close it, and open it again - the outputs should be cleared.
We actually need to strip the outputs and non-markdown non-heading cells for this, and commit that to clean folder. I'll work on it.
Most helpful comment
We actually need to strip the outputs and non-markdown non-heading cells for this, and commit that to
cleanfolder. I'll work on it.