Skip to content

Netvlad using lightweight framework mobilenetv2 for feature extraction!Created by Ze Huang.

Notifications You must be signed in to change notification settings

Fleurrr/MobileNetv2_Netvlad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileNetv2_Netvlad

Netvlad using lightweight framework mobilenet_v2 for feature extraction!The repository includes :

  1. Inference demo
  2. Pre-trained model
  3. Sample image
  4. Totorial and description
    The repository is created by Ze Huang

Usage

First, make sure you have installed python 3.8 environment and downloaded this project repository.
Next, run the following command in the home directory to install the python package needed to use this model

pip install -r requirements.txt

Run python demo.py to get the feature and vlad vector of the sample image without CUDA. You can also specify the image path or using CUDA by runing the following command.

python demo.py --image='imagepath' --cuda

Details

item value
model mobilenet_v2 + netvlad
size 18.50M
number of clusters 64
training data Pittsburgh
accuracy R@1=80.07% R@5=91.25% R@10=93.99%
time of load network cpu=0.111s gpu=0.148s
time of inference(single image) cpu=0.136s gpu=0.020s
GPU TITAN XP

About

Netvlad using lightweight framework mobilenetv2 for feature extraction!Created by Ze Huang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages