Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pylearn2/training_algorithms/bgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ def setup(self, model, dataset):
if not (model.force_batch_size is None or
model.force_batch_size <= 0 or
batch_size == model.force_batch_size):
raise ValueError("batch_size is %d but " +
"model.force_batch_size is %d" %
raise ValueError(("batch_size is %d but " +
"model.force_batch_size is %d") %
(batch_size, model.force_batch_size))

self.monitor = Monitor.get_monitor(model)
Expand Down