You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 'RGB'->'BGR'
x = x[..., ::-1]
# Zero-center by mean pixel
x[..., 0] -= 103.939
x[..., 1] -= 116.779
x[..., 2] -= 123.68
minus+transpose and transpose+minus are apparently different, which leading prediction different results beween quiver vs. keras. However, I am not sure which of them is right.
The text was updated successfully, but these errors were encountered:
@jakebian Vgg16 is going great but when I use keras.applications.inception_v3 as the quiver input, the prediction is not as expected (quite bad).
Then I compared inception_v3.py and vgg16.py and find actually their preprocess_input are different. On the other hand, I may or may not use imagenet_util.preprocess_input for my own models.
I guess one solution is letting preprocess_input be a paramerer of quiver_engine.server.launch so one can apply custermized pre-processing.
in the quiver code
quiver_engine/imagenet_uitls.py
:in keras
keras/applications/imagenet_utils.py
:minus+transpose
andtranspose+minus
are apparently different, which leading prediction different results beween quiver vs. keras. However, I am not sure which of them is right.The text was updated successfully, but these errors were encountered: