shuangshuangguo / tsn-tensorflow

This is tensorflow implementation for TSN(Temporal Segment Networks)
21 stars 7 forks source link

data preparation bug #1

Closed gongbudaizhe closed 6 years ago

gongbudaizhe commented 6 years ago

Hi,

For the InceptionV2 bundled with TensorFlow, the inputs should be RGB instead of BGR. (BNInception from xiong is BGR.)

https://github.com/shuangshuangguo/tsn-tensorflow/blob/14e36b0c7e18e14a43e9c0980f403ca946328d79/dataset.py#L198

shuangshuangguo commented 6 years ago

@gongbudaizhe Yes, so I inversed the channel as [:, :, ::-1]

gongbudaizhe commented 6 years ago

You are right. I forgot that cv2.imread returns BGR images...