- Install PyTorch
$ pip install torch==1.7.1
- Install Carafe that does not uses autograd: https://github.com/maksad/CARAFE/tree/without_autograd
$ pip install git+https://github.com/maksad/CARAFE.git@without_autograd
- Debug
$ python main.py
$ pip install torch==1.7.1
$ pip install git+https://github.com/maksad/CARAFE.git@without_autograd
$ python main.py