Bonjour,<\/SPAN><\/P>Je travaille actuellement sur l'entraînement d'un modèle deep learning dans ArcGIS Pro qui détectera des images géothermiques dans les images Landsat 8. J'ai suivi ce tutoriel : Train Deep Learning Model94Help | Documentation<\/A> .<\/SPAN><\/P><\/P>Je suis actuellement bloqué à la dernière étape du processus, l'entraînement du modèle lui-même. J'ai créé un dossier approprié pour toutes les données d'entraînement exportées et je travaille maintenant avec Python. Voici mon code ci-dessous :<\/SPAN><\/P><\/P>import<\/SPAN> <\/SPAN>arcpy <\/SPAN><\/P>from<\/SPAN> <\/SPAN>arcpy.ia <\/SPAN><\/SPAN>import<\/SPAN> <\/SPAN>* <\/SPAN><\/P> <\/SPAN><\/P># Vérifiez la licence de l'extension ArcGIS Image Analyst<\/SPAN><\/P>arcpy.CheckOutExtension(<\/SPAN>"ImageAnalyst"<\/SPAN>)<\/SPAN><\/P>#Définir les paramètres d'entrée<\span> in_folder = "C <\span> \Users\\gphy426\\Documents\\Geothermal Pombo\\training_data_geoproc <\span> " <\span> <\span> <\p> out_folder = " <\span> C:\\Users\\gphy426\\Documents\\Geothermal Pombo\\trained_model <\span> " <\span> <\span> <\p> max_epochs = 20<\span> <\p> model_type = "FEATURE_CLASSIFIER"<\span> <\p> batch_size = 2<\span> <\p> arg = <pan sTYLe=
<\/P>
Je suis actuellement bloqué à la dernière étape du processus, l'entraînement du modèle lui-même. J'ai créé un dossier approprié pour toutes les données d'entraînement exportées et je travaille maintenant avec Python. Voici mon code ci-dessous :<\/SPAN><\/P><\/P>import<\/SPAN> <\/SPAN>arcpy <\/SPAN><\/P>from<\/SPAN> <\/SPAN>arcpy.ia <\/SPAN><\/SPAN>import<\/SPAN> <\/SPAN>* <\/SPAN><\/P> <\/SPAN><\/P># Vérifiez la licence de l'extension ArcGIS Image Analyst<\/SPAN><\/P>arcpy.CheckOutExtension(<\/SPAN>"ImageAnalyst"<\/SPAN>)<\/SPAN><\/P>#Définir les paramètres d'entrée<\span>
in_folder = "C <\span> \Users\\gphy426\\Documents\\Geothermal Pombo\\training_data_geoproc <\span> " <\span> <\span> <\p> out_folder = " <\span> C:\\Users\\gphy426\\Documents\\Geothermal Pombo\\trained_model <\span> " <\span> <\span> <\p> max_epochs = 20<\span> <\p> model_type = "FEATURE_CLASSIFIER"<\span> <\p> batch_size = 2<\span> <\p> arg = <pan sTYLe=
Hi Nick,
The training api and tools use "transfer learning" to train our models which means your data needs to be 3 Band 8 bit. What I would suggest to make your dataset training capable, is to use a composite band tool/function on your dataset to make it 3 band( Here is some help How To: Convert individual raster bands into a color or multiband image ). If it is not 8 bit you can use the stretch function to make it 8 bit. Then run the Export training tool (using PASCAL VOC Objects option ) and then train your data. Hope this helps.
Thanks
Sangeet
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.