Implementation-ArcFace-in-MATLAB

This is implementatoin of ArcFace(https://arxiv.org/abs/1801.07698) in MATLAB. In this demo, train and test pet images by using ArcFace.

https://github.com/fukuchi0105/Implementation-ArcFace-in-MATLAB

You are now following this Submission

ArcFace_MATLAB

View Implementation-ArcFace-in-MATLAB on File Exchange

This is implementatoin of ArcFace(https://arxiv.org/abs/1801.07698) in MATLAB. In this demo, train and test pet images by using ArcFace. This network can

  1. calculate the similarity between your pet images and each breed of dogs and cats.
  2. calculate the similarity between your pet images and the other pet images.

Products used in development

  • MATLAB R2021b
  • Image Processing Toolbox
  • Deep Learning Toolbox
  • add on: Deep Learning Toolbox Model for ResNet-50 Network
  • Parallel Computing Toolbox (if you want to use GPU in training)

Setup

dataset: Datasets is automatically downloaded from Oxford-IIIT Pet Datset(https://www.robots.ox.ac.uk/~vgg/data/pets/).

To Run:
・Train and Test:(GPU is recommanded)
 1.Open arcface_train.mlx
 2. Change directory to "arcface_demo"
 3. Execute Run
・Test:
 1.Open arcface_train.mlx
 2. Change directory to "arcface_demo"
 3. Go to "Test Model" Section
   If you want to use train model by run, remove commnet of "load dlnet_end.mat"
 4.Run section of "Test Model"

Getting Started

Please open arcface_train.mlx and read instructions

Examples

To learn how to use this in testing workflows, see arface_train.mlx.

License

The license for Implementation-ArcFace-in-MATLAB is available in the license.txt file in this GitHub repository.

Include any other License information here, including third-party content using separate license agreements

Community Support

MATLAB Central

Copyright (c) 2022 Nobuaki Fukuchi.

Cite As

Nobuaki Fukuchi (2026). Implementation-ArcFace-in-MATLAB (https://github.com/fukuchi0105/Implementation-ArcFace-in-MATLAB/releases/tag/v1.1.1), GitHub. Retrieved .

Deng, Jiankang, et al. “ArcFace: Additive Angular Margin Loss for Deep Face Recognition.” IEEE Transactions on Pattern Analysis and Machine Intelligence, Institute of Electrical and Electronics Engineers (IEEE), 2021, pp. 1–1, doi:10.1109/tpami.2021.3087709.

View more styles

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.1

See release notes for this release on GitHub: https://github.com/fukuchi0105/Implementation-ArcFace-in-MATLAB/releases/tag/v1.1.1

1.1.0

1.0.0.0

See release notes for this release on GitHub: https://github.com/fukuchi0105/Implementation-ArcFace-in-MATLAB/releases/tag/v1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.