tapashettisr
(Sunil Tapashetti)
September 21, 2019, 4:18pm
1
I am using latest version of fastai on Colab. model_summary(learn.model) is trowing the following error:
** NameError Traceback (most recent call last)
<ipython-input-12-334cc816ccc6> in <module>() ----> 1 model_summary(learn.model)
NameError: name ‘model_summary’ is not defined**
Any insights??
navidpanchi
(Navid Panchi)
September 21, 2019, 7:23pm
2
You should use learn.summary()
it will give you model summary as well.
tapashettisr
(Sunil Tapashetti)
September 22, 2019, 5:07am
3
Thanks, that solves my problem. However is it that model_summary() is no more part of latest fastai version? Documentation shows that the function exists.
kushaj
(Kushajveer Singh)
September 22, 2019, 6:07pm
4
For model_summary you pass the learner model_summary(learn)
.