fastbook
fastbook copied to clipboard
The fastai book, published as Jupyter Notebooks
When i run in jupyter, show error, but this code run in colab  '[' is not recognized as an internal or external command, operable program or batch file.
I tried to understand the difference, but they are almost identical in term of behaviour. In the documentation https://docs.fast.ai/losses.html#bcewithlogitslossflat, `nn.BCEWithLogitsLoss` suppose to fail but it doesn't. ``` tst = BCEWithLogitsLossFlat()...
By default, PyTorch 2.x is now getting pulled in by pip install of fastbook and its dependencies. This results in an error in the first training exercise: ``` --------------------------------------------------------------------------- AttributeError...
I go to the book website but not found the answer https://fastai.github.io/fastbook2e/intro.html#questionnaire and in link the book mention: https://course.fast.ai/
While running the code from chapter 9, I encountered some errors related to missing updates of libraries/methods. So in this PR I updated the mentioned libraries/methods.
Beginner nit: please advise GPU runtime is required in the Colab (or grab it as part of page code)
I have the book and started with the Google Colab. Repro I hit: * Go to first Colab page (01_intro.ipynb) * Start executing the code blocks * For the first...
In the very beginning of chapter 1 there is a following code which tries to distinguish whether it's cat or dog: ``` img = PILImage.create(uploader.data[0]) is_cat,_,probs = learn.predict(img) print(f"Is this...
The diagram in [Neural Networks: A Brief History](https://console.paperspace.com/jgyaniv/notebook/r3ekcq8m2fc37nj?file=%2F01_intro.ipynb#Neural-Networks:-A-Brief-History) is transparent so the black text is not readable when the notebook is in dark mode. The solution is to just add...
I have tried everything to get past this issue but no luck so far. I tried all the troubleshooting tips mentioned in this https://github.com/orgs/community/discussions/42258