Since two days fastai2.medical.imaging isn’t working for me anymore on Colab. The problems seems to be that the kornia package downgrades torch to 1.5.0, while torchvision 0.6.1 has the requirement of torch 1.5.1.
And after restarting the runtime I get the following error when trying to import the fastai packages:
RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. PyTorch has CUDA Version=10.2 and torchvision has CUDA Version=10.1. Please reinstall the torchvision that matches your PyTorch install.
use pip kornia===0.2.0 and it should work. You can also check out my medical imaging blog for more info on using fastai for medical imaging and here is a link to the colab page