Commit Graph

1 Commits

Author SHA1 Message Date
Alexander Gorban 89e19ed261 Fix demo_inference to properly normalize input.
Before the fix the demo_inference.py used batch_norm and it did the
normalization of input image implicitly. If at inference time the
batch_norm was disabled the inference produced incorrect results.
This fix does the proper input image normalization and disables the batch_norm
at inference time.
2018-01-04 19:51:14 -08:00