Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix to 15_arch_details.ipynb create_body call #556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KikiCS
Copy link

@KikiCS KikiCS commented Dec 29, 2022

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.

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.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant