ImportError: No module named spatial_dropout, caffe, ENet

403 Views Asked by At

When I try to train this net i got an error:

 ImportError: No module named spatial_dropout

Does anybody know how to fix this?

I tried to use this instruction.

1

There are 1 best solutions below

0
On

Make sure you've reset your $CAFFE_PATH, so it's set to the absolute path of caffe-enet, and that you've done:

export PYTHONPATH="$CAFFE_PATH/python:$PYTHONPATH"

This fixed it for me.