<?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 ArcGIS Pro Python API login problem in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/arcgis-pro-python-api-login-problem/m-p/1361588#M552</link>
    <description>&lt;P&gt;I'm using Deep Learning version 3.2 and ArcGIS Pro API for python.&lt;/P&gt;&lt;P&gt;I'm running my scripts on Jupyter notebook.&amp;nbsp; I have the following codes:&lt;/P&gt;&lt;P&gt;import os&lt;BR /&gt;from pathlib import Path&lt;BR /&gt;from arcgis.learn import prepare_data&lt;BR /&gt;from arcgis.learn import UnetClassifier&lt;BR /&gt;from arcgis.learn import train_model&lt;BR /&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;# Prepare data&lt;BR /&gt;data = prepare_data(path=r"E:\DL_Models_v32\TrainedData_v32\ClassifiedTiles\BellTrainedData_UnetNlcd", batch_size = 64, chip_size = 512)&lt;/P&gt;&lt;P&gt;#Login to ArcGIS license&lt;BR /&gt;gis = GIS("&lt;A href="https://ourPortal" target="_blank"&gt;https://ourPortal&lt;/A&gt;", "username", "password")&lt;/P&gt;&lt;P&gt;On the login cell, I get a runtime error:&amp;nbsp; "ArcGIS Online does not support train_model function.&lt;/P&gt;&lt;P&gt;But I'm trying to run using arcgis.learn API.&amp;nbsp; How do I specify my login credentials?&amp;nbsp; I'm not sure about our organization's portal address.&amp;nbsp; How do I get it?&lt;/P&gt;&lt;P&gt;Appreciate any response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 19:20:29 GMT</pubDate>
    <dc:creator>JadedEarth</dc:creator>
    <dc:date>2023-12-15T19:20:29Z</dc:date>
    <item>
      <title>ArcGIS Pro Python API login problem</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/arcgis-pro-python-api-login-problem/m-p/1361588#M552</link>
      <description>&lt;P&gt;I'm using Deep Learning version 3.2 and ArcGIS Pro API for python.&lt;/P&gt;&lt;P&gt;I'm running my scripts on Jupyter notebook.&amp;nbsp; I have the following codes:&lt;/P&gt;&lt;P&gt;import os&lt;BR /&gt;from pathlib import Path&lt;BR /&gt;from arcgis.learn import prepare_data&lt;BR /&gt;from arcgis.learn import UnetClassifier&lt;BR /&gt;from arcgis.learn import train_model&lt;BR /&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;# Prepare data&lt;BR /&gt;data = prepare_data(path=r"E:\DL_Models_v32\TrainedData_v32\ClassifiedTiles\BellTrainedData_UnetNlcd", batch_size = 64, chip_size = 512)&lt;/P&gt;&lt;P&gt;#Login to ArcGIS license&lt;BR /&gt;gis = GIS("&lt;A href="https://ourPortal" target="_blank"&gt;https://ourPortal&lt;/A&gt;", "username", "password")&lt;/P&gt;&lt;P&gt;On the login cell, I get a runtime error:&amp;nbsp; "ArcGIS Online does not support train_model function.&lt;/P&gt;&lt;P&gt;But I'm trying to run using arcgis.learn API.&amp;nbsp; How do I specify my login credentials?&amp;nbsp; I'm not sure about our organization's portal address.&amp;nbsp; How do I get it?&lt;/P&gt;&lt;P&gt;Appreciate any response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 19:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/arcgis-pro-python-api-login-problem/m-p/1361588#M552</guid>
      <dc:creator>JadedEarth</dc:creator>
      <dc:date>2023-12-15T19:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Python API login problem</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/arcgis-pro-python-api-login-problem/m-p/1361718#M557</link>
      <description>&lt;P&gt;My bad.&amp;nbsp; This has noting to do with Login.&amp;nbsp; I thought there was a "train_model" function.&amp;nbsp; Still learning....&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 11:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/arcgis-pro-python-api-login-problem/m-p/1361718#M557</guid>
      <dc:creator>JadedEarth</dc:creator>
      <dc:date>2023-12-16T11:01:53Z</dc:date>
    </item>
  </channel>
</rss>

