<?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: Python Raster Function's .vectorize() method returned nothing in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1046416#M162</link>
    <description>&lt;P&gt;This occurs when there are no detections during inferencing. Is the cell size of the training samples and the image you used for inferencing, the same? One issue can also be the threshold is too high, but at 0.1 nothing should get filtered (so that's not an issue). if you are running this using your gpu, can you try doing the same using your CPU (change it on the environments tab of the tool)&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 16:05:45 GMT</pubDate>
    <dc:creator>VinayViswambharan</dc:creator>
    <dc:date>2021-04-13T16:05:45Z</dc:date>
    <item>
      <title>Python Raster Function's .vectorize() method returned nothing</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1046266#M161</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Error appers when I use "Detect Objects Using Deep Learning" in ArcGIS Pro, the model is YOLOv3 which trained by ArcGIS API for Python.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;ERROR 999999:&lt;/STRONG&gt; 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;BR /&gt;Python raster function is unable to vectorize the data. [Failed to generate table]&lt;BR /&gt;Python raster function is unable to vectorize the data.&lt;BR /&gt;E:\Program Files\ArcGIS\Pro\bin\Python\envs\deeplearning\Lib\site-packages\numpy\core\fromnumeric.py:87: RuntimeWarning: invalid value encountered in reduce&lt;BR /&gt;return ufunc.reduce(obj, axis, dtype, out, **passkwargs)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "F:\pro_project\tree_detector\models\yolov3_acc89\ArcGISObjectDetector.py", line 215, in vectorize&lt;BR /&gt;polygon_list, scores, classes = self.child_object_detector.vectorize(**pixelBlocks)&lt;BR /&gt;File "E:\Program Files\ArcGIS\Pro\bin\Python\envs\deeplearning\Lib\site-packages\arcgis\learn\models\_inferencing\_yolov3_inference.py", line 365, in vectorize&lt;BR /&gt;for pred in preds[batch_idx]:&lt;BR /&gt;KeyError: 0&lt;BR /&gt;Python Raster Function's .vectorize() method returned nothing.&lt;BR /&gt;Failed to execute (DetectObjectsUsingDeepLearning).&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LinoSun_1-1618298955855.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10680i04FEC5D87D345349/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LinoSun_1-1618298955855.png" alt="LinoSun_1-1618298955855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Expected behavior&lt;/STRONG&gt;&lt;BR /&gt;How to make the YOLOv3 model work.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Platform (please complete the following information):&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;OS: Win10&lt;/LI&gt;
&lt;LI&gt;Browser chrome&lt;/LI&gt;
&lt;LI&gt;Python API Version 1.8.3&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 27 Jul 2022 18:38:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1046266#M161</guid>
      <dc:creator>LinoSun</dc:creator>
      <dc:date>2022-07-27T18:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python Raster Function's .vectorize() method returned nothing</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1046416#M162</link>
      <description>&lt;P&gt;This occurs when there are no detections during inferencing. Is the cell size of the training samples and the image you used for inferencing, the same? One issue can also be the threshold is too high, but at 0.1 nothing should get filtered (so that's not an issue). if you are running this using your gpu, can you try doing the same using your CPU (change it on the environments tab of the tool)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 16:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1046416#M162</guid>
      <dc:creator>VinayViswambharan</dc:creator>
      <dc:date>2021-04-13T16:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python Raster Function's .vectorize() method returned nothing</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1047952#M163</link>
      <description>&lt;P&gt;reported as a bug&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/980" target="_blank"&gt;Python Raster Function's .vectorize() method returned nothing · Issue #980 · Esri/arcgis-python-api (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 03:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/python-raster-function-s-vectorize-method-returned/m-p/1047952#M163</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-16T03:11:46Z</dc:date>
    </item>
  </channel>
</rss>

