Ok so we can retake part of the dictionary learning http://scikit-learn.org/stable/auto_examples/cluster/plot_dict_face_patches.html#example-cluster-plot-dict-face-patches-py

I will check what it can give.

Guillaume Lemaitre
PhD candidate
MSc Erasmus Mundus Vision and robotic (ViBOT)
Master in Business Innovation and Technology Management (BITM)
Univertité de Bourgogne - LE2I
Universitat de Girona - ViCOROB
From: Andy
Sent: Wednesday, 24 February 2016 00:43
To: scikit-learn-general@lists.sourceforge.net
Reply To: scikit-learn-general@lists.sourceforge.net
Subject: Re: [Scikit-learn-general] Implementation of Bag-of-Features

On 02/23/2016 04:32 PM, Guillaume Lemaitre wrote:
Since that I was working on a cluster I did not realize but loading all the image in memory will be problematic with a laptop-desktop configuration.

Or we can learn the PCA projection on a subset and to apply the dimension reduction right after the patch extraction. However, I am not sure that all data will fit in memory.

We have out of core versions for PCA and KMeans.

I think the way I'd do it is to go over all images, extract only a couple of patches from each image, store them.
After we have some patches from all images, I'd learn the PCA model.
Then we can go over the data again, transforming the patches. If they don't fit into memory after dimensionality reduction, we can
use minibatch k-means to do the clustering without loading all the data.
then we need to go over the data one more time to get the cluster centers and compute the BoW (which will fit in memory)

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to