caffe matlab 借口怎么提取灰度图的 feature ? What happened if I mixed the color images with gray images together for training ?

  

  1. caffe matlab 接口提供了提取feature的脚本,但是由于中间要对这些图像进行RGB ---> BGR 的变换,卧槽,灰度图没有三通道啊?怎么破?从上午就在纠结怎么会跑着跑着程序就报错了,尼玛,坑啊。。。

  

如何解决这个问题 ??

  -----------------------------------------------------------

  我把灰度图给扔了,谢谢!

  2. If I use the color images mixed with gray images together for CNN training, what will happened ???

  well, it is really a stupid question, and I do a test about this problem due to the existance of gray images in caltech-256 dataset. The accuracy becoming 0 gradiually...

  That's what happened. It is really sad ... Just throw the gray image immediately ...

原文地址:https://www.cnblogs.com/wangxiaocvpr/p/5477861.html