tf.extra_losses

(โ˜… 104)

Large-Margin Softmax Loss, Angular Softmax Loss, Additive Margin Softmax, ArcFaceLoss And FocalLoss In Tensorflow

  • .gitignore
  • check_op.py
  • CMakeLists.txt
  • common.cc
  • common.h
  • l_softmax_grad_op.cc
  • l_softmax_grad_op.cu
  • l_softmax_op.cc
  • l_softmax_op.cu
  • l_softmax_op.h
  • LICENSE
  • py_loss.py
  • README.md
  • test_op.py
  • work_sharder.h

# Installation Guide

1. Get the code
git clone https://github.com/HiKapok/tf.extra_losses

Downloads the entire project code from GitHub to your computer.

cd tf.extra_losses

Moves into the project folder you just downloaded.

2. CMake

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ ์ปดํŒŒ์ผ๋Ÿฌ Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
cd build && cmake ..

Moves into the project folder you just downloaded.

โœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

// repository documentation