laptop and a wrench

Bug

If less than 10 training samples are provided when running the Train Deep Learning Model tool, the error message "ZeroDivisionError: division by zero" is returned.

ArcGIS Pro
Bug ID Number BUG-000168623
SubmittedJune 26, 2024
Last ModifiedFebruary 26, 2025
Applies toArcGIS Pro
Version found3.3
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusFixed

Description

When running the Train Deep Learning Model tool, the error "ZeroDivisionError: division by zero" will be returned if there are less than ten training samples (chips) provided for each class of features being classified.  

Cause

For example, let's say there are four training samples for one Class of features, and we use ten in the %Validation parameter.  In this case, the number of samples for validation will be 0.4, which is not valid.  The % value must be a whole number.  

Workaround

The workaround for the issue is to make sure you have collected at least ten training samples for each category of feature to classify from your imagery. 

Steps to Reproduce

Bug ID: BUG-000168623

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options