laptop and a wrench

Bug

The Train Deep Learning Model tool does not create the model_metrics.html report, loss_graph.png, or show_results.png in ArcGIS Pro 3.1 (In ArcPy, it creates model_metrics.html).

Last Published: April 11, 2023 ArcGIS Pro
Bug ID Number BUG-000156539
SubmittedMarch 13, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.1
Operating SystemN/A
Operating System VersionN/A
Version Fixed3.2, 3.1.2
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.2 and 3.1.2.

Workaround

  • Use the Python 3 command prompt outside of ArcGIS Pro, and run commands: 

import arcpy 

arcpy.CheckOutExtension("ImageAnalyst") 

arcpy.ia.TrainDeepLearningModel('trainingdata', 'output', 1, 'UNET', 2, '# #', None, 'resnet34', None, 10, 'STOP_TRAINING')

 

  • Use ArcGIS API for Python in ArcGIS Pro, and run the UnetClassifier command:

from arcgis.learn import UnetClassifier, prepare_data

data_path = r'C:\mydata\mytrainingdata'

data = prepare_data(data_path, batch_size=16)

unet_model = UnetClassifier(data)

lr = unet_model.lr_find()

unet_model.fit(10, lr=lr)

unet_model.save(r'c:\myfolder\mymodel')

Steps to Reproduce

Bug ID: BUG-000156539

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options