Can anyone make sense of this error. I am trying to detect objects on a historic map.
A raster error has occurred. The messages that follow will provide more detail.
Python raster function is unable to vectorize the data. [Failed to generate table]
Python raster function is unable to vectorize the data.
Traceback (most recent call last):
File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 218, in vectorize
polygon_list, scores, classes = self.tta_scale_detect_objects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 293, in tta_scale_detect_objects
polygon_list, scores, classes = self.tta_detect_objects(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 370, in tta_detect_objects
pixelBlocksCopy["raster_pixels"] = (out.data * 256).numpy()
^^^^^^^^
File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 214, in data
return self.px
^^^^^^^
File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 145, in px
self.refresh()
File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 132, in refresh
self._px = _grid_sample(self._px, self.flow, **self.sample_kwargs)
^^^^^^^^^
File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 156, in flow
self._flow = _affine_grid(self.shape)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 547, in _affine_grid
N, C, H, W = size
^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 3)
Python Raster Function's .vectorize() method returned nothing.
Failed to execute (DetectObjectsUsingDeepLearning).
Failed at Wednesday, March 26, 2025 2:41:38 PM (Elapsed Time: 45.01 seconds)