Closed gongbudaizhe closed 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
@gongbudaizhe Yes, so I inversed the channel as [:, :, ::-1]
You are right. I forgot that cv2.imread returns BGR images...
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