Closed him-singhvi closed 2 years ago
load_learner
is defined in fastai library (not fastbook). Take a look at
the fastai docs for structuring your imports correctly (sometimes it can be
difficult figuring out where everything lives).
-wg
On Wed, Mar 16, 2022 at 11:44 AM him-singhvi @.***> wrote:
1.
pip install fastbook 2.
pip install ohmeow-blurr 3.
from fastbook import load_learner
as soon as I run the line number 3 jupyter kernel dies and show below error [image: image] https://user-images.githubusercontent.com/30286290/158664057-25541c93-773b-4eac-be3f-0c47fdcfe34f.png
I also tried running import fastbook in python terminal it shows me segmentation fault
— Reply to this email directly, view it on GitHub https://github.com/ohmeow/blurr/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADNMAPS5GEYWFGDPS2BZDVAITYTANCNFSM5Q4WFLEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
but for me on python 3.7 it worked for one server.
you can see from fastai it throws error but from fastbook it worked fine and loaded the model too. Is it because of python version. I am using 3.8 at the machine where I am having issue. Please guide,
load_learner
is defined in fastai.leaner
.
Going to close this out if its resolved (or I don't hear anything back). Lmk.
pip install fastbook
pip install ohmeow-blurr
from fastbook import load_learner
as soon as I run the line number 3 jupyter kernel dies and show below error
I also tried running import fastbook in python terminal it shows me segmentation fault