Select to view content in your preferred language

Can't Re-Train ESRI Model

142
7
a month ago
Labels (3)
rescobar
New Contributor III

Hi Folks,

I'm trying to retrain this model: Land Cover Classification (Aerial Imagery) - Overview (arcgis.com)

I run label features for deep learning and then export training data for deep learning.

 
Params.PNG


I then run train deep learning model, but get this error:

Exception: Could not infer dataset type. Please specify a supported dataset type or ensure that the path contains valid exported training data from ArcGIS.


UnboundLocalError: local variable 'data_bunch' referenced before assignment
 
Deep_learning_Train.PNG

 

Is there a key parameter I'm missing?

0 Kudos
7 Replies
PavanYadav
Esri Contributor

@rescobar Can you please confirm that you followed steps outlined here https://doc.arcgis.com/en/pretrained-models/latest/imagery/finetuning-the-land-cover-classification-...

how many image chips do you have in your training data? 

thanks
Pavan

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos
rescobar
New Contributor III

Yes, I cannot get "Export Training Data For Deep Learning" to work out of the toolbox

How many image chips do I need?  I have 500 chips using "Export Training Data For Deep Learning" from the "Label Objects for Deep Learning window". 

If I use export training data for deep learning out of the tool box from a shapefile I get a different error:

ERROR 002088: Feature class has not enough information for supervised training.

 

Error_exporting.PNG

 

0 Kudos
PavanYadav
Esri Contributor

@rescobar your feature class looks right to me. Try to use the Class Value Field parameter. If it does not work, please share it as a zip, I can try to investigate the issue at my end. 

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos
rescobar
New Contributor III

Hi @PavanYadav , see the data here:

rescobar_data

 

Thank you!

0 Kudos
PavanYadav
Esri Contributor

@rescobar thanks I will look into it. 

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos
PavanYadav
Esri Contributor

@rescobar looks like rescobar_data has expired. can you please share again? 

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos
rescobar
New Contributor III

Hi @PavanYadav  here is an updated link. Thank you!

 

rescobar_data

0 Kudos