Hello, The value of the sample.vtr parameter (validation/training ratio) is typically about 0.5 You define sample.vtr it may be a problem. Meilleures salutations - Atentamente – Regards
Jean-Philippe Denux jp.denux(a)purpan.fr Enseignant-Chercheur Département Sciences Sociales, Environnementales et Biodiversité UMR INP 1201 Dynafor École d'Ingénieurs de PURPAN 75 voie du TOEC – BP57611 – 31076 TOULOUSE Cedex 3 - FRANCE Tél : +33 (0) 5 61 15 29 72 - Fax : +33 (0) 5 61 15 30 60 www.purpan.fr<http://www.purpan.fr/> De : otb-users@googlegroups.com <otb-users@googlegroups.com> De la part de Julien Envoyé : mardi 24 avril 2018 11:11 À : otb-users <otb-users@googlegroups.com> Objet : [otb-users] Error using otbcli_TrainImagesClassifier Hello, I'm having an error when I use the otbcli_TrainImagesClassifier function on the command line. An error appears a few seconds after the launch of the algorithm ; This error is not well documented : "(FATAL): itk::ERROR: Failed to open GDALDataset file C:\Documents\test_classif_b_indices_fin_2.svm_samplesValid_1.shp : " There is nothing after the ":" I'm using OTB 6.4.0 on windows 10. I'm using SVM algorithm to produce my model with a command like this : otbcli_TrainImagesClassifier ^ -io.il D:\Documents\image.tif ^ -io.vd D:\Documents\training.shp ^ -sample.vfn class ^ -sample.vtr 0 ^ -classifier libsvm ^ -classifier.libsvm.k linear ^ -io.imstat D:\Documents\image_stats.xml ^ -io.out D:\Documents\model.svm When I use this function from the library in Monteverdi, the error does not appear, the model is produced correctly. Could you tell me if this is a setup problem? or if it's a bug related to itk, or GDAL? Thank you, regards, Julien -- -- 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<mailto:otb-users@googlegroups.com> To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com<mailto: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<mailto:otb-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- -- 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.