Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

RGB or BGR #21

Open
knmac opened this issue Jan 20, 2017 · 1 comment
Open

RGB or BGR #21

knmac opened this issue Jan 20, 2017 · 1 comment

Comments

@knmac
Copy link

knmac commented Jan 20, 2017

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).

@danielgordon10
Copy link

To me it looks like those commands are baked into the network loaded in forward. It does bgr to rgb, scaling, and mean subtraction.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants