TrainImagesClassifier and ListSampleGenerator problem
Mantis Issue 943, reported by sdinot, assigned to jmichel, created: 2014-05-29
Hi,
After many crashes in my own application i noticed that there is a problem in the ListSampleGenerator if i use big files ( image pleiade 7 GB ) To be sure, i run the TrainImagesClassifier application with this same image and i got randomly one of these error: std::bad_alloc / failed to allocate memory for image
These error happened only with OTB 4.
I resolved this problem with some modification in the 'otbListSampleGenerator.txx', now both of my own application and the TrainImagesClassifier application work fine.
Hope if someone can confirm this
you can find attached my modification,
Best Regards, Walid
1402476054 - julienAble to reproduce with data on my own.
1402476773 - julienFixed here: http://hg.orfeo-toolbox.org/OTB/rev/b972e9126081
4.0.1 on its way.
1429262600 - julienClosing resolved bugs.