Skip to content
Snippets Groups Projects
Select Git revision
  • 7fb3c1de4738b51aee48598b710f2445dbc1219b
  • master default protected
  • updates
  • towards_tf2
  • amir
  • tf20
  • predict
  • speed-up
  • newlstm
  • integrate_structures
  • lstm
  • gan
  • oldmaster
  • v3.0.0
  • v2.0.0
  • v1.2.2b0
  • v1.2.1
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • 0.1.10
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
33 results

bob.learn.tensorflow

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tiago Freitas Pereira authored
    7fb3c1de
    History

    Tensorflow Examples

    This example package implements simple CNN trainings with tensorflow using the MNIST database. It is implemented two CNNs:

    • Lenet using softmax
    • Siamease network (Lenet as a base)

    Installation

    With tensorflow installed in your environment just run:

    $ python bootstrap.py
    $ ./bin/buildout

    Documentation

    For the time being has just one script that trains the MNIST using the Lenet architecture using the softmax cross entropy loss. Run the command bellow to have some help:

    $ ./bin/train_mnist.py --help # Lenet using softmax
    $ ./bin/train_mnist_siamese.py --help # Lenet using siamese net

    It is just the classical stuff. I haven't added any regularization (L2, L1, dropout, etc )