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

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/HiKapok/tf.extra_losses

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd tf.extra_losses

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. CMake

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • CMake 빌드 설정을 생성하는 도구입니다.
  • C/C++ 컴파일러 Windows는 Visual Studio(Community 무료), macOS는 Xcode Command Line Tools, Linux는 gcc/g++ 패키지가 필요합니다.
cd build && cmake ..

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation