You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on May 24, 2018. It is now read-only.
I used img iterator (image list) for grey images, but it gives a shape mistach error. Then I traced into the program and found LoadImage function used in ImageIterator class loads images as RGB images. Its output will always have 3 channels.
Does any data iterator supports grey scale images?
If not, will implementing such an iterator work well? or there is some other part of the project also assumes all images are RGB therefore that will not work?
A fast workaround is to convert the grayscale image into color image... If you want to use grayscale image, you can implement a new data iterator for it. Other part does not assume this.
Hi, @winstywang ,
I added an as_grey option to img and imgrec iter. I can see the loss decreases while training so I guess it works.
But then I found ImageAugmenter::Process looks to assume RGB images as well, is it true?
Well, I found there are 3 functions of ImageAugmenter::Process(). The one which is actually called has no problem. The rest two may have problems but I'm not sure.
Hi,
I used img iterator (image list) for grey images, but it gives a shape mistach error. Then I traced into the program and found LoadImage function used in ImageIterator class loads images as RGB images. Its output will always have 3 channels.
Does any data iterator supports grey scale images?
If not, will implementing such an iterator work well? or there is some other part of the project also assumes all images are RGB therefore that will not work?