tensorflow-resnet
tensorflow-resnet copied to clipboard
RGB or BGR
trafficstars
When I load the trained models in the torrent files, do they work with RGB or BGR images? In 'convert.py', the image is converted from RGB to BGR (with 'preprocess()' function) after being loaded by skimage.io.imread(). However, this routine is not found in 'forward.py' (only loading routine is there).
To me it looks like those commands are baked into the network loaded in forward. It does bgr to rgb, scaling, and mean subtraction.