Fixed pycaffe plugin to accept QLossLayer