-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Description
in the quiver code quiver_engine/imagenet_uitls.py:
x[:, :, :, 0] -= 103.939
x[:, :, :, 1] -= 116.779
x[:, :, :, 2] -= 123.68
# 'RGB'->'BGR'
x = x[:, :, :, ::-1]
in keras keras/applications/imagenet_utils.py:
# '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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels