position_based_network

pixel position based network on MNIST dataset

dependencies:

  • python
  • tensorflow
  • numpy

How to run?

  • change the flag IS_POSITION_BASED = False for running CNN without position matrix
  • change the flag IS_POSITION_BASED = True for running CNN with position matrix
  • run python xy_coord.py in terminal to train model
  • run python test_xy.py in terminal to test model