I have a problem using DLPK Super Resolution to apply to a Raster.
ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Unable to read pixels from the python raster function.
Unable to read pixels from the python raster function.
Function Read Error [Raster Function Template]
Unable to read pixels from the python raster function.
Traceback (most recent call last):
File "C:\Users\jpolanco\AppData\Local\Temp\ArcGISProTemp11604\super_resolution.dlpk\ArcGISSuperResolution.py", line 168, in updatePixels
xyz = self.child_image_classifier.updatePixels(tlc, shape, props, **pixelBlocks).astype(props['pixelType'], copy=False)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\_superres.py", line 215, in updatePixels
superres_prediction = util.pixel_classify_superres_image(
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\util.py", line 495, in pixel_classify_superres_image
img_normed = norm(tiles.permute(0, 2, 3, 1)).permute(0, 3, 1, 2)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\util.py", line 22, in <lambda>
norm = lambda x: (x - mean) / std
ValueError: operands could not be broadcast together with shapes (4,400,400,4) (3,)
Python raster function's .updatePixels() method returned nothing.
Unable to read pixels from the python raster function.
Unable to read pixels from the python raster function.
Function Read Error [Raster Function Template]
Unable to read pixels from the python raster function.
Traceback (most recent call last):
File "C:\Users\jpolanco\AppData\Local\Temp\ArcGISProTemp11604\super_resolution.dlpk\ArcGISSuperResolution.py", line 168, in updatePixels
xyz = self.child_image_classifier.updatePixels(tlc, shape, props, **pixelBlocks).astype(props['pixelType'], copy=False)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\_superres.py", line 215, in updatePixels
superres_prediction = util.pixel_classify_superres_image(
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\util.py", line 495, in pixel_classify_superres_image
img_normed = norm(tiles.permute(0, 2, 3, 1)).permute(0, 3, 1, 2)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_inferencing\util.py", line 22, in <lambda>
norm = lambda x: (x - mean) / std
ValueError: operands could not be broadcast together with shapes (4,400,400,4) (3,)
Python raster function's .updatePixels() method returned nothing.
Failed to execute (ClassifyPixelsUsingDeepLearning).