sort.load_features

sort.load_features(feature_path)

Load previously extracted features.

Load features produced by the FeatureExtractor.

Parameters

Name Type Description Default
feature_path str Path to .npy file required

Returns

Name Type Description
filenames, feature_array: np.array, np.array The filenames array correspond to each row of the feature_array, which has shape (image_count, feature_count)