Hello,
I am trying to run a deep learning algorithm to detect shipwrecks using bathymetry data. I am using the Detect Shipwrecks example project template (https://www.arcgis.com/home/item.html?id=072a6af548ee4ad9a784881270b99266). I am using the Shipwreck Detection model (https://www.arcgis.com/home/item.html?id=28755e99bbde42508f22b957681a70e2). The example BAG data can be found here: (https://www.ngdc.noaa.gov/nos/H12001-H14000/H12891.html).
I follow the instructuions for running the example Shipwreck Detection ArcGIS project, but am encountering the following error when running DetectObjectsUsingDeepLearning():
Traceback (most recent call last):
File "C:\Mac\Home\Documents\ArcGIS\Projects\ShipwreckProjectTest\detectshipwrecks.py", line 99, in <module>
raise e
File "C:\Mac\Home\Documents\ArcGIS\Projects\ShipwreckProjectTest\detectshipwrecks.py", line 89, in <module>
arcpy.ia.DetectObjectsUsingDeepLearning(tfile,
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\ia\Functions.py", line 4127, in DetectObjectsUsingDeepLearning
return Wrapper(
^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\Utils.py", line 45, in swapper
result = wrapper(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\ia\Functions.py", line 4115, in Wrapper
result = arcpy.gp.DetectObjectsUsingDeepLearning_ia(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arcgisscripting.ExecuteError: A raster error has occurred. The messages that follow will provide more detail.
Traceback (most recent call last):
Failed to execute (DetectObjectsUsingDeepLearning).
Failed script Shipwreck Detection from Bathymetric data...
Failed to execute (detectshipwrecks).
Any help would be appreciated. Thanks!
I figured out that the problem goes away when I switch from using my GPU to my CPU. However, I would still like to use my GPU for performance/efficiency reasons, so I still need to figure out why using the GPU throws this raster error with DetectObjectsUsingDeepLearning.
Hey Jon, thanks for the information! What GPU is on your machine?
What is the solution? I have the same error.