Skip to content

Commit d4d27c3

Browse files
committed
better error message
1 parent ff6ff5f commit d4d27c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swa/callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def on_train_begin(self, logs=None):
9999

100100
if self.has_batch_norm and self.batch_size is None:
101101
raise ValueError(
102-
'"batch_size" needs to be set for models with batch normalization.'
102+
'"batch_size" needs to be set for models with batch normalization layers.'
103103
)
104104

105105
def on_epoch_begin(self, epoch, logs=None):

0 commit comments

Comments
 (0)