<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Detect Object Using Deep Learning Error 999999 When GPU in used in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1127957#M49251</link>
    <description>&lt;P&gt;Hello bhariadi,&lt;/P&gt;&lt;P&gt;I am not able to get the yolov3 model working using the detect objects using deep learning method.&lt;/P&gt;&lt;P&gt;How did you do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 10:11:24 GMT</pubDate>
    <dc:creator>shlirkd</dc:creator>
    <dc:date>2021-12-21T10:11:24Z</dc:date>
    <item>
      <title>Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1089098#M44458</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I successfully detect object using deep learning, processed using CPU as followed pictured.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20878i25B87CE0E7EA5210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when I use GPU to run this tool, the process end with error.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 250px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20879i1C3EDF2DCD055198/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.png" style="width: 398px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20880i19591849FA8F1B0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture3.png" alt="Capture3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Those are my laptop specification:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DELL Precision 5550&lt;/LI&gt;&lt;LI&gt;Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz 2.40 GHz&lt;/LI&gt;&lt;LI&gt;32.0 GB of RAM&lt;/LI&gt;&lt;LI&gt;Windows 10 Pro&lt;/LI&gt;&lt;LI&gt;NVIDIA Quadro T2000 with Max-Q Design&lt;/LI&gt;&lt;LI&gt;ArcGIS Pro 2.8.2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I installed ArcGIS Pro Deep Learning Framework, and get the installer from &lt;A title="Deep Learning Libraries Installers for ArcGIS" href="https://github.com/Esri/deep-learning-frameworks" target="_blank" rel="noopener"&gt;this&lt;/A&gt; site.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This is the error messages, I copied from ArcGIS Pro:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Detect Objects Using Deep Learning&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;=====================&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Parameters&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Input Raster 47_res10cm_micasensemx.tif&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Output Detected Objects C:\Users\Administrator\Documents\ArcGIS\Projects\20210813_ArcGISPro_BelajarDeepLearning_1\20210813_ArcGISPro_BelajarDeepLearning_1.gdb\c47_res10cm_micasensemx_DetectObject1_GPU&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Model Definition C:\DeepLearning\models\OPDetectionModel_Res10cm_YOLOv3_v11_Stage1_scorexxxx.dlpk&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Arguments padding 56;threshold 0,1;nms_overlap 0,5;batch_size 4;exclude_pad_detections True&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Non Maximum Suppression NMS&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Confidence Score Field Confidence&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Class Value Field Class&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Max Overlap Ratio 0,5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Processing Mode PROCESS_AS_MOSAICKED_IMAGE&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;=====================&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Environments&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Scratch Workspace C:\Users\Administrator\Documents\ArcGIS\Projects\20210813_ArcGISPro_BelajarDeepLearning_1\20210813_ArcGISPro_BelajarDeepLearning_1.gdb&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Extent 288571,076325618 9786953,0828514 288891,75196697 9787250,26344576&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Processor Type GPU&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Current Workspace C:\Users\Administrator\Documents\ArcGIS\Projects\20210813_ArcGISPro_BelajarDeepLearning_1\20210813_ArcGISPro_BelajarDeepLearning_1.gdb&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;=====================&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Messages&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Start Time: 13 August 2021 17:31:38&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (&lt;A href="http://esriurl.com/support" target="_blank" rel="noopener"&gt;http://esriurl.com/support&lt;/A&gt;) to Report a Bug, and refer to the error help for potential solutions or workarounds.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python raster function is unable to vectorize the data. [Failed to generate table]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python raster function is unable to vectorize the data.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\ADMINI~1\AppData\Local\Temp\ArcGISProTemp12504\OPDetectionModel_Res10cm_YOLOv3_v11_Stage1_scorexxxx.dlpk\ArcGISObjectDetector.py", line 215, in vectorize&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;polygon_list, scores, classes = self.child_object_detector.vectorize(**pixelBlocks)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\arcgis\learn\models\_inferencing\_yolov3_inference.py", line 334, in vectorize&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;for feature_idx in range(len(image_bbox.data[0])):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\fastai\vision\image.py", line 378, in data&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;lbls = np.array([o.data for o in lbls]) if lbls is not None else None&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\torch\tensor.py", line 486, in __array__&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;return self.numpy()&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python Raster Function's .vectorize() method returned nothing.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python raster function is unable to vectorize the data. [Failed to generate table]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python raster function is unable to vectorize the data.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\ADMINI~1\AppData\Local\Temp\ArcGISProTemp12504\OPDetectionModel_Res10cm_YOLOv3_v11_Stage1_scorexxxx.dlpk\ArcGISObjectDetector.py", line 215, in vectorize&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;polygon_list, scores, classes = self.child_object_detector.vectorize(**pixelBlocks)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\arcgis\learn\models\_inferencing\_yolov3_inference.py", line 334, in vectorize&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;for feature_idx in range(len(image_bbox.data[0])):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\fastai\vision\image.py", line 378, in data&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;lbls = np.array([o.data for o in lbls]) if lbls is not None else None&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;File "C:\Users\Administrator\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning282\Lib\site-packages\torch\tensor.py", line 486, in __array__&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;return self.numpy()&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Python Raster Function's .vectorize() method returned nothing.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Failed to execute (DetectObjectsUsingDeepLearning).&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Failed at 13 August 2021 17:32:01 (Elapsed Time: 23,14 seconds)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Image below is the information from nvidia-smi:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20881i4AC262CFF96FB53E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.jpg" alt="Capture4.jpg" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Hopefully anybody here can help me. Thank you.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 07:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1089098#M44458</guid>
      <dc:creator>bhariadi</dc:creator>
      <dc:date>2021-08-14T07:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1089102#M44459</link>
      <description>&lt;P&gt;Update information (but it is not solving my previous problem yet):&lt;/P&gt;&lt;P&gt;I tried to train my data trough Jupyter Notebook &amp;amp; the CUDA worked. But when I used Detect Object Using Deep Learning tool in ArcGIS Pro, the error still persistent.&lt;/P&gt;&lt;P&gt;See the picture below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture6.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20882iA7EFE555A2476D1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture6.jpg" alt="Capture6.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 08:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1089102#M44459</guid>
      <dc:creator>bhariadi</dc:creator>
      <dc:date>2021-08-14T08:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1118078#M47969</link>
      <description>&lt;P&gt;The problem solved.&lt;/P&gt;&lt;P&gt;Only need to update the ArcGIS Pro version to 2.9.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Cuda enabled" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27744iA48DCB4856EA0E1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture7.JPG" alt="Cuda enabled" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Cuda enabled&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 09:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1118078#M47969</guid>
      <dc:creator>bhariadi</dc:creator>
      <dc:date>2021-11-18T09:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1127957#M49251</link>
      <description>&lt;P&gt;Hello bhariadi,&lt;/P&gt;&lt;P&gt;I am not able to get the yolov3 model working using the detect objects using deep learning method.&lt;/P&gt;&lt;P&gt;How did you do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 10:11:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1127957#M49251</guid>
      <dc:creator>shlirkd</dc:creator>
      <dc:date>2021-12-21T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1128231#M49277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Usually. I am using Jupyter Notebook not via ArcGIS Pro.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 04:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1128231#M49277</guid>
      <dc:creator>bhariadi</dc:creator>
      <dc:date>2021-12-22T04:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Object Using Deep Learning Error 999999 When GPU in used</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1276104#M67660</link>
      <description>&lt;P&gt;I have similar issue. error message while using detect object using deep learning in Arcgis pro. I used pretrained building footprint model. any suggestion?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 09:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-object-using-deep-learning-error-999999/m-p/1276104#M67660</guid>
      <dc:creator>Kris_AB</dc:creator>
      <dc:date>2023-04-06T09:34:02Z</dc:date>
    </item>
  </channel>
</rss>

