chengzegang / TorchVLAD

A simple implementation of differentiable VLAD in pure Pytorch (with Kornia)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TorchVLAD

This is a simple implementation of VLAD in pure PyTorch (with kornia).


Table of Contents

Usage

In bash

python -m pytorch_vlad --train-dir /PATH/TO/ROOT/IMAGE/DIR 

or in python

import torch
import pytorch_vlad as vlad

model = vlad.train(**kwargs)
index_df, index_df_path = vlad.index(**kwargs)
retr_indices, retr_df = vlad.retrieve(**kwargs)

License

TorchVLAD is distributed under the terms of the MIT license.

About

A simple implementation of differentiable VLAD in pure Pytorch (with Kornia)

License:MIT License


Languages

Language:Python 100.0%