mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-06-27 16:10:11 +08:00
test_normalization.py reduce test flakiness
This commit is contained in:
@@ -188,7 +188,7 @@ def test_instancenorm_perchannel_correctness():
|
||||
for channel in range(3):
|
||||
activations = out[instance, channel]
|
||||
assert abs(activations.mean()) > 1e-2
|
||||
assert abs(activations.std() - 1.0) > 1e-2
|
||||
assert abs(activations.std() - 1.0) > 1e-1
|
||||
|
||||
# but values are still normalized per-instance
|
||||
activations = out[instance]
|
||||
|
||||
Reference in New Issue
Block a user