fastai / fastbook

The fastai book, published as Jupyter Notebooks
Other
21.76k stars 8.41k forks source link

bugfix to 15_arch_details.ipynb create_body call #556

Open KikiCS opened 1 year ago

KikiCS commented 1 year ago

I run this notebook in Google colab and got an error when using simply the model name as the input to create_body function. Since children can be called from the function form, I added the parentheses in the notebook, so encoder = create_body(resnet34, cut=-2) became encoder = create_body(resnet34(), cut=-2) and the notebook runs fine. Except it doesn't train up to 94% accuracy.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB