A PyTorch implementation of CGD based on the paper "Combination of Multiple Global Descriptors for Image Retrieval"