Skip to content

Commit

Permalink
Fixed some comments that still said "BRG" when I meant "BGR".
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolya committed Apr 25, 2019
1 parent 3d3c375 commit dd72e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
( 96, 125, 139))


# These are in BRG and are for ImageNet
# These are in BGR and are for ImageNet
MEANS = (103.94, 116.78, 123.68)
STD = (57.38, 57.12, 58.40)

Expand Down Expand Up @@ -120,7 +120,7 @@ def print(self):
})

vgg_transform = Config({
# Note that though vgg is traditionally BRG,
# Note that though vgg is traditionally BGR,
# the channel order of vgg_reducedfc.pth is RGB.
'channel_order': 'RGB',
'normalize': False,
Expand Down

0 comments on commit dd72e0c

Please sign in to comment.