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.
A
Alexander Gorban committed
89e19ed261a39872e981cabe3ec3934b53664c65
Parent: f893da6