Skip to content

Lennox-Dai/UltraGlobal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UltraGlobal

This is the repository of paper : "UltraGlobal: An Enhanced Approach to Image Retrieval Using Global Features"

Install

  • You may refer to our requirement to set up the same environment with our original code.

    requirements.txt

Set up

Evaluation

  • You can run the instruction below to evaluate the model:

     python test.py MODEL.DEPTH 50 TEST.WEIGHTS ./weights TEST.DATA_DIR ./revisitop SupG.gemp True SupG.rgem True SupG.sgem True SupG.relup True SupG.rerank True SupG.onemeval False
    

Toxic finetuning

  • You should run new_try.py under folder finetune to do toxic finetuning.

  • The model is saved under ./finetune/model run the following to evaluate the toxic model:

    python test.py MODEL.DEPTH 50 TEST.WEIGHTS ./finetune/model TEST.DATA_DIR ./revisitop SupG.gemp True SupG.rgem True SupG.sgem True SupG.relup True SupG.rerank True SupG.onemeval False
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages