Skip to content

Commit dba1517

Browse files
committed
Fixing name
1 parent 75b1579 commit dba1517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/network3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def ReLU(z): return T.maximum(0, z)
5757

5858
def example(mini_batch_size=10):
5959
print("Loading the MNIST data")
60-
training_data, validation_data, test_data = load_data_shared("../data/mnist.pkl.gz")
60+
training_data, validation_data, test_data = load_data_shared()
6161
print("Building the network")
6262
net = create_net(10)
6363
print("Training the network")
@@ -171,7 +171,7 @@ def SGD(self, training_data, epochs, mini_batch_size, eta,
171171
iteration = num_training_batches*epoch+minibatch_index
172172
if iteration % 1000 == 0:
173173
print("Training mini-batch number {0}".format(iteration))
174-
cost_ij = train_mini_batch(minibatch_index)
174+
cost_ij = train_mb(minibatch_index)
175175
if (iteration+1) % num_training_batches == 0:
176176
validation_accuracy = np.mean(
177177
[validate_mb_accuracy(j) for j in xrange(num_validation_batches)])

0 commit comments

Comments
 (0)