Kaggle Kernal Error

Hey, I am having trouble importing resnet34 model into a Kaggle Kernal. It says:
URLError: <urlopen error [Errno -2] Name or service not known>’

when I try to run :
learn = ConvLearner.pretrained(resnet34, data, precompute=True)

Same as this person : https://www.kaggle.com/grroverpr/fast-ai-kaggle-kernels. Any way to get around this??

2 Likes

I got exactly same error. Did you figure out how to fix it?

1 Like

Activating the Internet connection in the settings solved the problem for me

3 Likes

Hey I’ve got this problem too. How do I fix this?
There’s no switch button for internet on Kaggle notebooks anymore.

You can find the toggle here.