Hello , 
I have an error on the command classifier 

 otbcli_ImageClassifier.bat -in alldates2014_landsat_bandes_et_nvdi.TIF  
-out classif.tif uint8 -model model.rf

i replaced uint8 by float but the result is the same ....

2016 Oct 26 09:35:21  :  Application.logger  (INFO) Loading model
2016 Oct 26 09:35:21  :  Application.logger  (INFO) Model loaded
2016 Oct 26 09:35:21  :  Application.logger  (INFO) Input image 
normalization de    activated.
Writing classif.tif...: 0% 
[                                                  ]OpenCV Error: Bad 
argument (the input sample must be 1d floating-point vector with
 the same number of elements as the total number of variables used for 
training ) in predict, file 
/data/tools/mxe/tmp-opencv-i686-w64-mingw32.shared/opencv-2.4  
.10/modules/ml/src/tree.cpp, line 3620
/data/tools/mxe/tmp-opencv-i686-w64-mingw32.shared/opencv-2.4.10/modules/ml/src/tree.cpp:3620:
 
error: (-5) the input sample must be 1d floating-point vector wit h the 
same number of elements as the total number of variables used for training  
in function predict

many many thanks for your help 

Michel 



-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to