Code Monkey home page Code Monkey logo

ammln's Introduction

AMFF

AMFF

Feature Fusion and Metric Learning Network for Zero-Shot Sketch-Based Image Retrieval

Website: https://www.mdpi.com/1099-4300/25/3/502
PDF Version: https://www.mdpi.com/1099-4300/25/3/502/pdf entropy-25-00502-g001

#setup

1.ubuntu >= 20.04 LTS

2.conda create -n AMFF python=3.8

3.conda activate AMFF

4.pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html

5.python setup.py install

6.pip install pandas pytorch_metric_learning timn scikiy-image

7.pip install pretrainedmodels nltk

开场图

Data set directory structure

-data/

-sketchy/

-train/

-photo/

-image1

-sketch/

-image1

-val/

-photo/

-image1

-sketch/

-image1

Train Model

para

--proj_dim 512

--backbone_type resnet50 --data_name sketchy

--tri_lambda 1 --batch_size 64

--num-workers 8 --loss mathm --epochs 10

dataset

sketchy and tu-berlin

cite

If our code helps you, please cite

@article{zhao2023feature,
title={Feature Fusion and Metric Learning Network for Zero-Shot Sketch-Based Image Retrieval},
author={Zhao, Honggang and Liu, Mingyue and Li, Mingyong},
journal={Entropy},
volume={25},
number={3},
pages={502},
year={2023},
publisher={MDPI}
}

ammln's People

Contributors

haizhu12 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.