Commit 89e19ed2 authored by Alexander Gorban's avatar Alexander Gorban
Browse files

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.
parent f893da6d
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