<?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: &amp;quot;Parameters are not valid&amp;quot; error while running deep Learning models via arcgis rest api in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/quot-parameters-are-not-valid-quot-error-while/m-p/1476738#M10057</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/782447"&gt;@AviralPadlia&lt;/a&gt;&amp;nbsp;The Roads Global model is updated and should work now. Could you please retry the workflw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reach out if you are able to reproduce it.&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 03:58:39 GMT</pubDate>
    <dc:creator>PriyankaTuteja</dc:creator>
    <dc:date>2024-05-22T03:58:39Z</dc:date>
    <item>
      <title>"Parameters are not valid" error while running deep Learning models via arcgis rest api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/quot-parameters-are-not-valid-quot-error-while/m-p/1405590#M9836</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm reaching out because I'm encountering an issue while working with ArcGIS Deep Learning models via the REST APIs.&lt;/P&gt;&lt;P&gt;Specifically, I'm having trouble with the parameter configurations for models like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Classify Pixels Using Deep Learning: {Road Extraction North America, Parkinglot Classification USA}&lt;/LI&gt;&lt;LI&gt;Detect Objects Using Deep Learning: {Road Extraction Global, Agricultural Field Delineation, TextSAM}&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Despite following the documentation closely and ensuring that parameters are formatted correctly, I consistently receive an error indicating that the parameters are not valid.&lt;/P&gt;&lt;P&gt;Here are some sample parameter configurations I've attempted:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TextSAM Model:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;inputRaster = {"url": ""}&lt;/P&gt;&lt;P&gt;outputObjects = {"serviceProperties":{"name":"DetectedCars"}}&lt;/P&gt;&lt;P&gt;model = {"itemId": ""}&lt;/P&gt;&lt;P&gt;modelArguments = { "text_prompt": "car", "padding": "256", "batch_size": 4, "box_threshold": 0.2, "text_threshold": 0.2, "box_nms_thresh": 0.7 }&lt;/P&gt;&lt;P&gt;runNMS = true&lt;/P&gt;&lt;P&gt;confidenceScoreField = Confidence&lt;/P&gt;&lt;P&gt;classValueField = Class&lt;/P&gt;&lt;P&gt;maxOverlapRatio = 0.1&lt;/P&gt;&lt;P&gt;processAllRasterItems = false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Road Extraction North America:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;inputRaster = {"url":""}&lt;/P&gt;&lt;P&gt;outputClassifiedRaster = {"serviceProperties":{"name":"tsetest_road_Extract"},"itemProperties":{"description":"Output generated from running the Classify Pixels Using Deep Learning analysis tool.","snippet":"Output generated from Classify Pixels Using Deep Learning","title":"tsetest_road_Extract","folderId":""}}&lt;/P&gt;&lt;P&gt;model = {"itemId":""}&lt;/P&gt;&lt;P&gt;modelArguments = {"batch_size":4}&lt;/P&gt;&lt;P&gt;processAllRasterItems = false&lt;/P&gt;&lt;P&gt;context = {"cellSize":1,"extent":{"spatialReference":{"latestWkid":3857,"wkid":102100},"xmin":-11702275.459327588,"ymin":4853462.48919104,"xmax":-11701890.288364692,"ymax":4853826.759404012},"processorType":"GPU","parallelProcessingFactor":2}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The road extraction model successfully ran once with the same parameters. But after updating the server to support the TextSAM model, I still got the "Parameters are not valid" error, but the parameters were same as previous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help me with the parameters how to run the models.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (27).png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99981iDBDD955E40FE95E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (27).png" alt="Screenshot (27).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/quot-parameters-are-not-valid-quot-error-while/m-p/1405590#M9836</guid>
      <dc:creator>AviralPadlia</dc:creator>
      <dc:date>2024-04-04T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Parameters are not valid" error while running deep Learning models via arcgis rest api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/quot-parameters-are-not-valid-quot-error-while/m-p/1476738#M10057</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/782447"&gt;@AviralPadlia&lt;/a&gt;&amp;nbsp;The Roads Global model is updated and should work now. Could you please retry the workflw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reach out if you are able to reproduce it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 03:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/quot-parameters-are-not-valid-quot-error-while/m-p/1476738#M10057</guid>
      <dc:creator>PriyankaTuteja</dc:creator>
      <dc:date>2024-05-22T03:58:39Z</dc:date>
    </item>
  </channel>
</rss>

