Training “cat or dog” on Windows without GPU

I was curious to see how much slower the training of chapter 1 of fast.ai would be on my GPU-less home desktop vs. a basic cloud GPU servers. The first issue was to get the code running after installing torch, torchvision and fastai modules. Apparently, there are some code modifications to make to get things …

Continue reading ‘Training “cat or dog” on Windows without GPU’ »

cannot import name ‘mobilenet_v2’ from ‘torchvision.models’

This was the error I received when trying to import fastbook to study the excellent fast.ai course. I had Python 3.9.1 installed and used pip to install the latest versions of torch, torchvision, and fastai To spare the reader from boring war stories, here’s the bottom line: Download the latest version of torchvision for your …

Continue reading ‘cannot import name ‘mobilenet_v2’ from ‘torchvision.models’’ »