[mlpack-git] [mlpack] add train test split (#523)
stereomatchingkiss
notifications at github.com
Thu Feb 25 23:02:57 EST 2016
I think I got your point, after looking at the codes of convolution_layer, what you want to do is something like solution A.
Solution A : split three channels to different arma::mat
```
cv::Mat img = cv::imread("00002.jpg");
std::vector<cv::Mat> channels;
cv::split(img, channels);
//........convert channels to arma::mat
arma::cube cubes;
join_slices(cubes, armaCh[0]);
join_slices(cubes, armaCh[1]);
join_slices(cubes, armaCh[2]);
```
Yeah, I think we should support this case, I prefer write a class to do the task since this would be a lot of parameters need to specify. Please correct me if I misunderstand your points.
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/523#issuecomment-189101725
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160225/8e2b4451/attachment-0001.html>
More information about the mlpack-git
mailing list