Commit d51237a4 authored by Marcel Rieger's avatar Marcel Rieger

Fix error message for wrong batch norm arguments.

parent 5955732a
Pipeline #109678 failed with stages
in 1 minute and 41 seconds
......@@ -117,7 +117,7 @@ class LBN(object):
elif isinstance(batch_norm, (list, tuple)) and len(batch_norm) == 2:
self.batch_norm_center, self.batch_norm_scale = batch_norm
else:
raise ValueError("invalid batch_norm, should be bool and list/tuple of two bools")
raise ValueError("invalid batch_norm, should be bool or list/tuple of two bools")
# particle weights and settings
self.particle_weights = particle_weights
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment