Bug
Bug ID Number | BUG-000156539 |
---|---|
Submitted | March 13, 2023 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Pro |
Version found | 3.1 |
Operating System | N/A |
Operating System Version | N/A |
Version Fixed | 3.2, 3.1.2 |
Status | Fixed |
import arcpy
arcpy.CheckOutExtension("ImageAnalyst")
arcpy.ia.TrainDeepLearningModel('trainingdata', 'output', 1, 'UNET', 2, '# #', None, 'resnet34', None, 10, 'STOP_TRAINING')
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')
Get help from ArcGIS experts
Download the Esri Support App