<?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 Deep Learning Object Detection:ERROR 002667  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-002667-unable/m-p/182328#M8071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;BR /&gt;I followed the lesson&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/lessons/detect-palm-trees-with-a-deep-learning-model.htm"&gt;Use deep learning to assess Palm tree health&lt;/A&gt;, everything went well except when I was about to run the Detect Objects Using Deep Learning tool. "The below error came up after browsing to the esri model definition file. I have read another thread on the same topic&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/232018-deep-learning-object-detection-error-unable-to-initialize-python-raster-function-with-scalar-arguments"&gt;Here&lt;/A&gt;, but ended up with the fact that I need to install Tensorflow on GPU, and unfortunately I do not have Nvidia GPU card. Did anyone manage to run this tool with tensorflow on CPU not GPU? or Has any workaround?&lt;IMG __jive_id="450445" alt="Error snap shot" class="image-1 jive-image j-img-original" src="/legacyfs/online/450445_Detect Object.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 002667&amp;nbsp; Unable to initialize python raster function with scalar arguments. &lt;C&gt;"&amp;nbsp;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.3.3&lt;/P&gt;&lt;P&gt;Tensorflow and Tensorflow - base packages added&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Jun 2019 18:14:02 GMT</pubDate>
    <dc:creator>AHMEDSHEHATA1</dc:creator>
    <dc:date>2019-06-15T18:14:02Z</dc:date>
    <item>
      <title>Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182328#M8071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;BR /&gt;I followed the lesson&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/lessons/detect-palm-trees-with-a-deep-learning-model.htm"&gt;Use deep learning to assess Palm tree health&lt;/A&gt;, everything went well except when I was about to run the Detect Objects Using Deep Learning tool. "The below error came up after browsing to the esri model definition file. I have read another thread on the same topic&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/232018-deep-learning-object-detection-error-unable-to-initialize-python-raster-function-with-scalar-arguments"&gt;Here&lt;/A&gt;, but ended up with the fact that I need to install Tensorflow on GPU, and unfortunately I do not have Nvidia GPU card. Did anyone manage to run this tool with tensorflow on CPU not GPU? or Has any workaround?&lt;IMG __jive_id="450445" alt="Error snap shot" class="image-1 jive-image j-img-original" src="/legacyfs/online/450445_Detect Object.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 002667&amp;nbsp; Unable to initialize python raster function with scalar arguments. &lt;C&gt;"&amp;nbsp;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.3.3&lt;/P&gt;&lt;P&gt;Tensorflow and Tensorflow - base packages added&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 18:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182328#M8071</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-15T18:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182329#M8072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same problem. Also, I do not have the possibility to run Tensorflow on the GPU; I do not have a NVIDIA card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get to resolve the problem, or any have a workaround, please let me know &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same software/package versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;María.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 08:30:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182329#M8072</guid>
      <dc:creator>MariaCulman</dc:creator>
      <dc:date>2019-06-19T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182330#M8073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You followed these?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/image-analyst/set-up-tensorflow-deep-learning-framework-for-arcgis.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/image-analyst/set-up-tensorflow-deep-learning-framework-for-arcgis.htm"&gt;Set up TensorFlow deep learning framework for ArcGIS—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.tensorflow.org/install/gpu" title="https://www.tensorflow.org/install/gpu"&gt;GPU support &amp;nbsp;|&amp;nbsp; TensorFlow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 09:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182330#M8073</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-19T09:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182331#M8074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Dan. I followed the 'Run TensorFlow on the CPU' section. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 11:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182331#M8074</guid>
      <dc:creator>MariaCulman</dc:creator>
      <dc:date>2019-06-19T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182332#M8075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you are using one of the 3 deep learning tools… ie&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/classify-pixels-using-deep-learning.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/classify-pixels-using-deep-learning.htm"&gt;Classify Pixels Using Deep Learning—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would leave your emd or valuetable as the culprits.&lt;/P&gt;&lt;P&gt;There is more at...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/raster-functions/wiki/PythonRasterFunction#anatomy-of-a-python-raster-function" title="https://github.com/Esri/raster-functions/wiki/PythonRasterFunction#anatomy-of-a-python-raster-function"&gt;PythonRasterFunction · Esri/raster-functions Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 12:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182332#M8075</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-19T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182333#M8076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not the 'Classify Pixels Using Deep Learning' tool, it is the 'Detect Objects Using Deep Learning' tool. And yes, my &lt;SPAN&gt;&lt;SPAN class=""&gt;TensorFlowCoconutTrees.emd&lt;/SPAN&gt;&lt;/SPAN&gt; file is looking as it should (as indicated in the tutorial: &lt;A class="link-titled" href="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/lessons/detect-palm-trees-with-a-deep-learning-model.htm" title="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/lessons/detect-palm-trees-with-a-deep-learning-model.htm"&gt;Detect palm trees with a deep learning model—Use Deep Learning to Assess Palm Tree Health | ArcGIS&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182333#M8076</guid>
      <dc:creator>MariaCulman</dc:creator>
      <dc:date>2019-06-19T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182334#M8077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have to contact the tutorial people&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 17:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182334#M8077</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-19T17:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182335#M8078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I followed the steps of setting up the Tensorflow on CPU. I've viewed the GPU support of Tensorflow, but I don't have a GPU card to consider this.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 19:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182335#M8078</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-19T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182336#M8079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get a PC with Nvidia GPU card that is CUDA-enabled maybe next week. I'll try to run the Detect objects tool and feedback you.&amp;nbsp;&lt;BR /&gt;I think we should contact the tutorial people as &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;&amp;nbsp;said, because they're not emphasizing on the ability of this tool to run on CPU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 19:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182336#M8079</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-19T19:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182337#M8080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;What version of tensorflow did you install? If you're trying to run 1.13, there may be issues with the versioning on dependent packages. Uninstall your current version of tensorflow, then in the Python Command Prompt, try running &lt;EM&gt;pip install tensorflow==1.12.0.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 23:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182337#M8080</guid>
      <dc:creator>KathyCappelli</dc:creator>
      <dc:date>2019-06-19T23:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182338#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uninstalled tensorflow 1.13, then installed 1.12.0 using pip in python command prompt, but didn't work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave a try and installed tensorflow once more using conda (to include&amp;nbsp;CUDA and cuDNN), but didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 00:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182338#M8081</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-20T00:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182339#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/306333"&gt;Ahmed Shehata&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌ advice, yesterday I oponed an issue in Github (&lt;A href="https://github.com/Esri/raster-deep-learning/issues/17"&gt;https://github.com/Esri/raster-deep-learning/issues/17&lt;/A&gt;). They insist that the example should be running in Tensorflow CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes with the NDIVIA GPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 06:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182339#M8082</guid>
      <dc:creator>MariaCulman</dc:creator>
      <dc:date>2019-06-20T06:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182340#M8083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/214531"&gt;Kathy Cappelli&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just created a new environment and installed Tensorflow 1.12.0 (_pip install tensorflow==1.12.0_). Also, I updated the Python Raster functions in the folder (C:\Users\CULMANFM\AppData\Local\Programs\ArcGIS\Pro\Resources\Raster\Functions\System\DeepLearning) with the ones available in the Github (&lt;A href="https://github.com/Esri/raster-deep-learning/tree/master/python_raster_functions"&gt;https://github.com/Esri/raster-deep-learning/tree/master/python_raster_functions&lt;/A&gt;). After that, this is the error that I was getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;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.&lt;BR /&gt;&amp;nbsp;Unable to obtain configuration properties associated with the raster function.&lt;BR /&gt;&amp;nbsp;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp;File "c:\users\culmanfm\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\ObjectDetector.py", line 142, in getConfiguration&lt;BR /&gt;&amp;nbsp;configuration = self.child_object_detector.getConfiguration(**scalars)&lt;BR /&gt;&amp;nbsp;File "c:\users\culmanfm\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\Templates\TemplateBaseDetector.py", line 55, in getConfiguration&lt;BR /&gt;&amp;nbsp;self.score_threshold = float(scalars['score_threshold'])&lt;BR /&gt;&amp;nbsp;**ValueError: could not convert string to float: '0,6'**&lt;BR /&gt;&amp;nbsp;Configuration properties returned by the python raster function is not a python dictionary.&lt;BR /&gt;&amp;nbsp;Unable to obtain configuration properties associated with the raster function.&lt;BR /&gt;&amp;nbsp;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp;File "c:\users\culmanfm\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\ObjectDetector.py", line 142, in getConfiguration&lt;BR /&gt;&amp;nbsp;configuration = self.child_object_detector.getConfiguration(**scalars)&lt;BR /&gt;&amp;nbsp;File "c:\users\culmanfm\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\Templates\TemplateBaseDetector.py", line 55, in getConfiguration&lt;BR /&gt;&amp;nbsp;self.score_threshold = float(scalars['score_threshold'])&lt;BR /&gt;&amp;nbsp;ValueError: could not convert string to float: '0,6'&lt;BR /&gt;&amp;nbsp;Configuration properties returned by the python raster function is not a python dictionary.&lt;BR /&gt;&amp;nbsp;Failed to execute (DetectObjectsUsingDeepLearning).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I changed the '0,6' for '0.6' in the score threshold field, and now it is running. And it is working!   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="/legacyfs/online/450932_Screenshot (54).png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 07:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182340#M8083</guid>
      <dc:creator>MariaCulman</dc:creator>
      <dc:date>2019-06-20T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182341#M8084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/367381"&gt;Maria Culman&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad you managed to run the tool. I've tried to do the same on my machine, but it didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed Tensorflow 1.12.0.Then, when I tried to update the python raster functions, I found them in a different path:&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Pro\Resources\Raster\Functions\System\DeepLearning&lt;/P&gt;&lt;P&gt;I copied the ones from the github repo., but the tool came uo with the same old error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even ran the env_setup batch file in the repo, but didn't work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 17:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182341#M8084</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-20T17:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182342#M8085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to let you know, that I managed to get a PC with GPU card (CUDA-enabled) and the tool ran smoothly, with tensorflow 1.13 and without even the need to update the python raster functon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also managed to run it on CPU, by re-installing ArcGIS Pro for my user (not all users on the machine) and using (pip install tensorflow==1.12.0) to install Tensorflow 1.12.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all, I believe the tool is not yet compatible with tensorflow 1.13 running on CPU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jun 2019 22:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182342#M8085</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-06-23T22:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182343#M8086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me this is a bug! I don't know if someone had this issue on ArcGIS Pro 2.4, but I followed all your suggestions of this thread without success. I need perform a DEMO showing deep learing and I cannot for this error. In this moment, that is being reviewed for Esri Support but they apparently do not have an answer either. My case also is in:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/232018-deep-learning-object-detection-error-unable-to-initialize-python-raster-function-with-scalar-arguments"&gt;https://community.esri.com/thread/232018-deep-learning-object-detection-error-unable-to-initialize-python-raster-function-with-scalar-arguments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I do not know if someone will have any solution that in this thread, has not been proposed. In advance, thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Braulio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 14:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182343#M8086</guid>
      <dc:creator>BraulioGalvez1</dc:creator>
      <dc:date>2019-07-18T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182344#M8087</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;Unfortunately, I have not tried the workaround that "worked for me" on ArcGIS Pro 2.4.&lt;/P&gt;&lt;P&gt;I totally agree with you that this is a bug!&lt;/P&gt;&lt;P&gt;As you need to perform your demo, I believe you either try to perform it on a machine with Nvidia GPU card, or downgrade to ArcGIS Pro 2.3 till this bug is fixed. Thank you and please feed us back if one of my two suggetions worked for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 15:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182344#M8087</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-07-18T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182345#M8088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could already find what is the biggest drawback of this. It is not a problem as such, but there is a file called "frozen_inference_graph.pb" which if it is not in the correct path, the model will not be read correctly with the tool. I do not know how this file is generated and because it is important in the model, however in the DEMO data located in the compass site, the * .pb file does not appear and from the WEB: https://learn.arcgis.com/ en / projects / use-deep-learning-to-assess-palm-tree-health / lessons / create-training-samples.htm # ESRI_SECTION1_37EB6255CA0D4ED8B6B9CC98973ED7B7, if you can download and route to a specific directory, as long as the EMD file is configured to read the route where the model is located.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/453514_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like to know more about this topic and the "How" the * .pb file is generated and what is the utility in the model,&amp;nbsp;with the purpose of being able to generate an own file of * .pb.&lt;/P&gt;&lt;P&gt;On the Github website: &lt;A href="https://github.com/Esri/raster-deep-learning/tree/master/"&gt;https://github.com/Esri/raster-deep-learning/tree/master/&lt;/A&gt;&amp;nbsp; it is only described that the * .pb is a training model file, however when data is transformed into data trained, ArcGIS Pro does NOT generate the * .pb file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/453525_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD: Tensorflow run with version 1.12.0 on ArcGIS Pro 2.4, the error continue when I used Tensorflow 1.13.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Braulio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 19:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182345#M8088</guid>
      <dc:creator>BraulioGalvez1</dc:creator>
      <dc:date>2019-07-18T19:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182346#M8089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed,&lt;/P&gt;&lt;P&gt;Thanks for your insights on this topic. I have received a similar issue in ArcGIS Pro 2.5, but this time it's with tensorflow-gpu 2.0 and pytorch 1.3. The error is same as you mentioned above. So after reading this thread, I rolled back both my tensorflow and pytorch version, but it still didn't work. I also made sure I installed the right versions which were mentioned here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/image-analyst/install-deep-learning-frameworks.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/image-analyst/install-deep-learning-frameworks.htm"&gt;Install deep learning frameworks for ArcGIS—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also my machine is GPU enabled. So could you please suggest me, if there is any other approach to solve this issue.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2020 03:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182346#M8089</guid>
      <dc:creator>RVG296</dc:creator>
      <dc:date>2020-03-28T03:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning Object Detection:ERROR 002667  Unable to initialize python raster function with scalar arguments.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182347#M8090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/365199"&gt;Rohit Venkat Gandhi Mendadhala&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having the same issue. ArcGIS Pro 2.5, after TF not working through CONDA install, I did a PIP install for tensorflow-cpu (I don't have a GPU enabled machine).&amp;nbsp;&lt;BR /&gt;Did you find a workaround by any chance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2020 19:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-object-detection-error-002667-unable/m-p/182347#M8090</guid>
      <dc:creator>NoemiRoecklinger</dc:creator>
      <dc:date>2020-05-17T19:01:37Z</dc:date>
    </item>
  </channel>
</rss>

