remove TestMode restriction for batchnorm in Kaldi (#1697)
This commit is contained in:
parent
75d2d88b61
commit
7e82728130
@ -51,9 +51,6 @@ class BatchNormComponentFrontExtractor(FrontExtractorOp):
|
||||
collect_until_token(pb, b'<TestMode>')
|
||||
test_mode = read_binary_bool_token(pb)
|
||||
|
||||
if test_mode is not False:
|
||||
raise Error("Test mode True for BatchNorm is not supported")
|
||||
|
||||
collect_until_token(pb, b'<StatsMean>')
|
||||
mean = read_binary_vector(pb)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user