Select to view content in your preferred language

Training Deep Learning Model (Image Analyst Tools) Error: Division by zero. Training was not successful?

186
1
07-25-2024 10:22 AM
MathewMyroniuk
New Contributor

I am trying to train a deep learning model to identify weeds from images. When I try to train the model using the Image Chips I got from exporting the training data, I get "Error: division by zero. Training was not successful." I found on Arc's site that the solution was making sure my input data has more than one unique value and has JSON file type. It has both, I am not sure where to go from here. 

MathewMyroniuk_0-1721927936689.png

 

MathewMyroniuk_1-1721927975121.pngMathewMyroniuk_2-1721927994907.png

 

0 Kudos
1 Reply
PavanYadav
Esri Contributor

@MathewMyroniuk I see you're using a batch size of 64 and validation % - 10. Can you share a screenshot of the stats.txt file from your training data?..  Here is an example of my stats.txt file

PavanYadav_0-1722280644688.png

 

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