Skip to content

Commit

Permalink
examples_changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Melchior authored and Jan Melchior committed Apr 24, 2017
1 parent 5a86f1d commit 6a4f6b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/RBM_MNIST_big.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@
# Loop over all batches
for b in range(0, train_data.shape[0], batch_size):
batch = train_data[b:b + batch_size, :]
trainer_pcd.train(data=batch, epsilon=0.01)
trainer_pcd.train(data=batch,
epsilon=0.01,
update_visible_offsets=update_offsets,
update_hidden_offsets=update_offsets)

# Calculate reconstruction error and expected end time every 10th epoch
if epoch % 10 == 0:
Expand Down

0 comments on commit 6a4f6b9

Please sign in to comment.