def __init__(self, feature_db, caffe_config): net = self._init_cnn(caffe_config) self.feature_objects_ = self._create_feature_objects_with_database( feature_db, net, caffe_config.deploy_batch_size())
def __init__(self, feature_db, caffe_config): net = self._init_cnn(caffe_config) self.batch_size = caffe_config.deploy_batch_size() self.vector_merging_method = caffe_config.vector_merging_method() self.feature_db = feature_db self.feature_objects_ = self._create_feature_vectors(net)
def __init__(self, feature_db, caffe_config): net = self._init_cnn(caffe_config) self.feature_objects_ = self._create_feature_objects_with_database(feature_db, net, caffe_config.deploy_batch_size())