Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An implementation for mnist center loss training and visualization

NotificationsYou must be signed in to change notification settings

shamangary/Keras-MNIST-center-loss-with-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fig. (left) Softmax only. (right) Softmax with center loss

Update (2018/03/02)

Update (2017/11/10)

  • Remove the one-hot inputs for Embedding layer and replace it by single value labels.
  • There are two kinds labels: single value for center loss, and one-hot vector labels for softmax term.
  • Every classes are visually seperated now :)

How to run?

  • Step.1Change the flag of center loss inside TYY_mnist.py
isCenterloss = True#isCenterloss = False
  • Step.2Run the file
KERAS_BACKEND=tensorflow python TYY_mnist.py

Dependencies

  • Anaconda
  • Keras
  • Tensorflow
  • Others: (install with anaconda)
conda install -c anaconda scikit-learn conda install -c conda-forge matplotlib

References:

About

An implementation for mnist center loss training and visualization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp