add the caffe resourse