Errors - rafutek/CNN-active-learning GitHub Wiki

This page lists all the errors we had, and their solution (what worked for us):

  • When installing the required packages with:

    pip install -r requirements.txt
    

    pip threw the error Errno28 that seems to be caused by a small /tmp directory, and downloading torch was not possible.

    So, we gave to the installer another directory with:

    TMPDIR=../tempdata/ pip install --cache-dir=../tempdata/  --build ../tempdata -r requirements.txt
    
  • When displaying plots with matplotlib, the plots were blank. Our linux machine needed the python-cairo package. So install it with your package manager:

    sudo pacman -S python-cairo
    

    or

    sudo apt install python-gi-cairo