mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-06-27 16:10:11 +08:00
Fixed an incorrect passing of the dataformat to _preproce_input
This commit is contained in:
@@ -92,7 +92,7 @@ def preprocess_input(x, data_format=None):
|
||||
# Returns
|
||||
Preprocessed tensor.
|
||||
"""
|
||||
x = _preprocess_input(x, data_format=None)
|
||||
x = _preprocess_input(x, data_format=data_format)
|
||||
x *= 0.017 # scale values
|
||||
return x
|
||||
|
||||
|
||||
Reference in New Issue
Block a user