'Deeplab v2 in Google Colab: Implementation of Caffe lib fails

Here is the Google Colab notebook dropped on github

As explained in the notebook, my purpose is to to experiment Deeplab v2 with Caffe (not with Tensorflow -With Tensorflow lib, I've managed to run an implementation of Deeplab in Google Colab).

Python does not fetch the link to the lib. As you'll notice in notebook, instruction import caffe throws an error when executed.

I have also tried straight forward install of the package using !apt install caffe-cuda in a different notebook but this does not work and everywhere I read like here, it suggests to build Caffe from source.

OS: Ubuntu 18.04.5 LTS Python: Python 3.7.12 Cuda: Cuda compilation tools, release 11.1, V11.1.105 openCV: 4.1.2



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source