<?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: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117342#M4808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Braulio,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was related to the competability of tensorflow 1.13 on CPU with ArcGIS 2.3&amp;nbsp;&lt;BR /&gt;The tool was not capable of running on CPU with tensorflow 1.13 package added, hence&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;(pip install tensorflow==1.12.0) to install Tensorflow 1.12.0 would fix the issue and run the tool on CPU&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2019 03:10:01 GMT</pubDate>
    <dc:creator>AHMEDSHEHATA1</dc:creator>
    <dc:date>2019-07-17T03:10:01Z</dc:date>
    <item>
      <title>Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117337#M4803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I have a problem with&amp;nbsp;Deep Learning Object Detection in ArcGIS Pro 2.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, I'm running through this &lt;A href="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/lessons/create-training-samples.htm"&gt;arcgis lesson&lt;/A&gt;, In the step adding emd file to the toolbox as model definition parameter. I got an error said that tensorflow failed to import and&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Unable to initialize python raster function with scalar arguments&lt;/STRONG&gt;. I was trying to figure it out and find &lt;A href="https://github.com/fo40225/tensorflow-windows-wheel"&gt;this solution&lt;/A&gt;&amp;nbsp;. I manage to import tensorflow but the second problem still exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have the same problem?&lt;BR /&gt;&lt;BR /&gt;Any suggestion would be apreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My env:&lt;BR /&gt;&lt;BR /&gt;ArcGIS Pro 2.3.2 with installed tensorflow CPU package&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117337#M4803</guid>
      <dc:creator>RamdhaniFajri</dc:creator>
      <dc:date>2019-04-11T09:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117338#M4804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first error you posted I'm pretty sure is coming from Tensorflow. You will see this error when Tensorflow tries to load CUDA dlls and either CUDA isnt installed or the wrong version of CUDA or CuDNN is installed. Could you post exactly how you installed Tensorflow? If it is being installed with a requirements.txt file, look in there and see if the tensorflow line is "tensorflow" or "tensorflow-gpu". If the gpu version is being installed then if will look for CUDA dlls even if the model you are using is being run on the CPU. If you are using a requirements file, one solution is to reinstall everything but remove the "-gpu" from that line. You could also uninstall tensorflow and install the CPU version. From a command line, run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pip uninstall tensorflow-gpu&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pip install tensorflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you are using Conda, you can install it with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;conda install tensorflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: if you install tensorflow-gpu with Conda, it will automatically install CUDA toolkit and CuDNN for you. This should work whether you run your model on the CPU or the GPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the second error, I am not entirely sure, but I have a feeling that with a properly installed tensorflow in the arcGIS Pro environment this error might go away. I will look into this a bit more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 22:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117338#M4804</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-19T22:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117339#M4805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage to run the tool well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the problem is the CPU version of tensorflow that does not work with this tool. I was trying in 3 different PCs without GPU and I always got that error. Once I created new environment with Nvidia GPU on it, everything was fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 07:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117339#M4805</guid>
      <dc:creator>RamdhaniFajri</dc:creator>
      <dc:date>2019-04-24T07:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117340#M4806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramdhani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you never been able to run the detect object tool with Tensorflow CPU ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;and what Nvidia GPU card was on the machine you used ? Can you tell me a specific kind of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 15:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117340#M4806</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-13T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117341#M4807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All!&lt;BR /&gt;I have the same error! but in ArcGIS Pro 2.4. I created news environments, I reinstalled ArcGIS Pro "in clean", then installed tensorflow from ArcGIS Pro Python Packages... then the error still appear. This error showed to the moment when I charge the model file *.emd.&lt;/P&gt;&lt;P&gt;Finally uninstall tensorflow and install it from the command window from python 3, and apparently, it was installed correctly since from the Python window of geoprocessing in ArcGIS Pro, it is working correctly (See screen printing).&lt;/P&gt;&lt;P&gt;The truth is that uninstalling and installing tensorflow and ArcGIS Pro does not solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comments!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Braulio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453268_error_Py.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453284_RunTensorflow.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 02:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117341#M4807</guid>
      <dc:creator>BraulioGalvez1</dc:creator>
      <dc:date>2019-07-17T02:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117342#M4808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Braulio,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was related to the competability of tensorflow 1.13 on CPU with ArcGIS 2.3&amp;nbsp;&lt;BR /&gt;The tool was not capable of running on CPU with tensorflow 1.13 package added, hence&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;(pip install tensorflow==1.12.0) to install Tensorflow 1.12.0 would fix the issue and run the tool on CPU&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 03:10:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117342#M4808</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-07-17T03:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117343#M4809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, but this error is happen in Pro 2.4 and I uninstalled tensorflow 1.13.0 and I installed 1.12.0, but the system show the same error (Error 002667) the attach print screen of before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453277_Install_1.12.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Braulio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 05:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117343#M4809</guid>
      <dc:creator>BraulioGalvez1</dc:creator>
      <dc:date>2019-07-17T05:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117344#M4810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had the same problem when i tried to execute Detect Objects using Deep Learning Tool.&amp;nbsp;I follow&amp;nbsp;this workflow:&lt;/P&gt;&lt;P&gt;- In Pyhton Package Manager &amp;gt; Manage Environments &amp;gt; Clone&amp;nbsp;default&lt;/P&gt;&lt;P&gt;- Add Packages &amp;gt; Search tensorflow and install&amp;nbsp;TensorFlow 1.13.1&lt;/P&gt;&lt;P&gt;After set up this environment, I ran the tool and the error&amp;nbsp;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Unable to initialize python raster function with scalar arguments&lt;/STRONG&gt; arise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution that works for me: in&amp;nbsp;&lt;SPAN&gt;Pyhton Package Manager &amp;gt; Add Packages &amp;gt; Search tensorflow and install&amp;nbsp;&lt;SPAN&gt;TensorFlow-mkl 1.13.1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I hope it helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 10:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117344#M4810</guid>
      <dc:creator>AntonioSan_José_Albacete</dc:creator>
      <dc:date>2019-08-02T10:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117345#M4811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I confirm that the installation of TensorFlow-mkl &lt;EM&gt;(in my case I installed version 1.14.0)&lt;/EM&gt; worked for my purposes, since it presented the same error. Thank you very much for the contribution. Greetings from Bogotá, CO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 22:57:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117345#M4811</guid>
      <dc:creator>Harold_AndrésLeón_Vega</dc:creator>
      <dc:date>2020-04-08T22:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection Error: Unable to initialize python raster function with scalar arguments</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117346#M4812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I also encountered a problem when setting my parameters for the detect Object using deep learning the model definition I used is the model definition I was provided in the training. Where I was instructed to edit the path to direct it to where the file is located which I did but when I add the file as a parameter there is an error which is giving me a tough time. Please I need your help on this.&lt;/P&gt;&lt;P&gt;Please find the attached screenshot of the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-unable-to/m-p/117346#M4812</guid>
      <dc:creator>ClementAmuquandoh</dc:creator>
      <dc:date>2020-07-01T10:42:21Z</dc:date>
    </item>
  </channel>
</rss>

