def _load_features(self):
    ' Load Bottleneck Features\n\n        Load VGG16 bottleneck features.\n\n        '
    for feature_name in ('bottleneck', 'labels'):
        if (feature_name == 'bottleneck'):
            out_path = self._bottleneck_file
        else:
            out_path = self._labels_file
        for (key, value) in self._features.items():
            if (feature_name not in value):
                value[feature_name] = self._load_data(key, out_path)
Load Bottleneck Features

Load VGG16 bottleneck features.
def _load_features(self):
    ' Load Bottleneck Features\n\n        Load VGG16 bottleneck features.\n\n        '
    for feature_name in ('bottleneck', 'labels'):
        if (feature_name == 'bottleneck'):
            out_path = self._bottleneck_file
        else:
            out_path = self._labels_file
        for (key, value) in self._features.items():
            if (feature_name not in value):
                value[feature_name] = self._load_data(key, out_path)