How can I make input data that processed ZCA whitening?

119 views
Skip to first unread message

Byung-Joon Kwon

unread,
May 17, 2016, 10:54:30 AM5/17/16
to Caffe Users
Hello!

I want to test ZCA whitening in caffe. 

- Current procedure
  1. ZCA whitening CIFAR10 in matlab.
       - Rescaling(/255)
       - (X-mean) / (standard deviation) ;each feature
       - ZCA whitening function
       - Save .mat file
 
  2. Save LMDB in python
       - Using caffe tool, make lmdb.
  
  3. Set input LMDB in .prototxt and start training.

Is this wrong way? 
When I print training data, it is uint8, using ipython notebook. But data that processed ZCA whitening is float32. If through data layer, did change data type?

If I save data that processed ZCA whitening as .jpg images in matlab, did my intention changed due to data format change?
I think that zca whitening function is work well. But error rate poorly than original cifar10 data.

Generally, how to input data that preprocessed by some methd into data layer of caffe?

I need your opinion!

Trần Bằng

unread,
Nov 27, 2017, 4:34:41 AM11/27/17
to Caffe Users
I have the same problem as you. Have you resolved it?

Vào 21:54:30 UTC+7 Thứ Ba, ngày 17 tháng 5 năm 2016, Byungjun Kwon đã viết:
Reply all
Reply to author
Forward
0 new messages