Skip to content

Commit

Permalink
fixed small doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jul 17, 2018
1 parent 786445a commit a06648c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def parse_function(filename,basewidth):
img = Image.open(filename).convert('L')
img = PIL.ImageOps.invert(img)
#img = PIL.ImageOps.invert(img)
wpercent = (basewidth/float(img.size[0]))
hsize = int((float(img.size[1])*float(wpercent)))
img = img.resize((basewidth,hsize), Image.ANTIALIAS)
Expand All @@ -38,9 +38,9 @@ def parse_function(filename,basewidth):
print "Starting Training on NN ( Tensorflow ) "

'''
Using a Neural Network with No Hidden Layers with 55 input layers with 200 values each. giving a total of 55 * 200 Values.
Using a Neural Network with No Hidden Layers with 55*200 input layers. total of 55 * 200 Values.
The weight dimentions are 200 * 1 , input is 1 * 200
The weight dimentions are (55 * 200) * 1 , input is 1 * ( 55 * 200 )
Output is single neuron ( 1 - Neuron Fired -- Jump ) else ( Leave )
Expand All @@ -50,7 +50,7 @@ def parse_function(filename,basewidth):

# Parameters
#learning_rate = .00000000001
learning_rate = .00000001
learning_rate = .0000000001
training_epochs = 100
batch_size = 100
display_step = 1
Expand Down

0 comments on commit a06648c

Please sign in to comment.