<?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: Help using the land_cover_classification_using_unet jupyter notebook sample in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693043#M53729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will look at this sometime soon, but I have other distractions to deal with &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2019 21:40:10 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-07-31T21:40:10Z</dc:date>
    <item>
      <title>Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693032#M53718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded a set of sample Jupyter notebooks from esri at&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/sample-notebooks/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/python/sample-notebooks/&lt;/A&gt;.&amp;nbsp; One of the notebooks is called&amp;nbsp;land_cover_classification_using_unet, which is supposed to&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;showcase an end-to-end to land cover classification workflow using ArcGIS API for Python. The workflow consists of three major steps: (1) extract training data, (2) train a deep learning&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: bold;"&gt;&lt;STRONG&gt;image segmentation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model, (3) deploy the model for inference and create maps.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;I am having trouble running the notebook, and so far have only gotten the first two steps to work, which just create a connection to ArcGIS Online.&amp;nbsp; The third and fourth lines of code are supposed to access a labeled image to train the model, but I get an error that the index value is out of range no matter what index value I use, which basically means the image was not found.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;label_layer = gis.content.search("Kent_county_full_label_land_cover")[1] # the index might change
label_layer
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
&amp;lt;ipython-input-29-a4ac34d0306c&amp;gt; in &amp;lt;module&amp;gt;
----&amp;gt; 1 label_layer = gis.content.search("Kent_county_full_label_land_cover")[1] # the index might change
      2 label_layer

IndexError: list index out of range&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;I downloaded the original classified image for Kent County in Deleware from &lt;SPAN style="background-color: #ffffff;"&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://chesapeakeconservancy.org/conservation-innovation-center/high-resolution-data/land-cover-data-project/" style="color: #337ab7; background-color: #ffffff; text-decoration: underline;" target="_blank" rel="nofollow noopener noreferrer"&gt;Chesapeake Conservancy land cover project&lt;/A&gt;.&amp;nbsp;&amp;nbsp;It looks the same, although I am not completely sure it matches the the extent or classifications of the training image the notebook was supposed to use&lt;SPAN style="background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;How do I change the code to use the image I downloaded and saved on my computer rather than the image from ArcGIS Online?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;I will probably will be asking more questions as I progress though the code, since it seems likely I will hit other problems.&amp;nbsp; I am hoping to first be able to complete the notebook example covering the Deleware region and afterward adapt it to process the NAIP imagery for&amp;nbsp;my jurisdiction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:09:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693032#M53718</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-12T05:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693033#M53719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you check the link on GitHub?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-python-api/blob/master/samples/04_gis_analysts_data_scientists/land_cover_classification_using_unet.ipynb" title="https://github.com/Esri/arcgis-python-api/blob/master/samples/04_gis_analysts_data_scientists/land_cover_classification_using_unet.ipynb"&gt;arcgis-python-api/land_cover_classification_using_unet.ipynb at master · Esri/arcgis-python-api · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you enter the folder containing the dataset and launch Jupyter from there? it seems that is the suggestion on the page you linked to Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 21:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693033#M53719</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-07-24T21:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693034#M53720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Github link you referenced only has the Jupyter Notebook as far as I can see, not any image file.&amp;nbsp; I did change change directories to the location of the notebook I downloaded before launching it.&amp;nbsp; There is no image in that directory.&amp;nbsp; There was a data subdirectory, but&amp;nbsp;the only image is called percipitation.tif without any classification labeling.&amp;nbsp; I searched all downloaded subdirectories for a&amp;nbsp;file name that contained the word&amp;nbsp;Kent and found nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have downloaded the Kent classified image from the&amp;nbsp;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fchesapeakeconservancy.org%2Fconservation-innovation-center%2Fhigh-resolution-data%2Fland-cover-data-project%2F" rel="nofollow" style="color: #337ab7; background-color: #ffffff; border: 0px; text-decoration: underline; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Chesapeake Conservancy land cover project&lt;/A&gt;and it looks like the image shown by the notebook. However, the way the code is written it is looking at ArcGIS Online, not the local directory where the notebook is located.&amp;nbsp; Anyway, I would think that there would be a way to create a layer from a file on my local hard drive, I just am not having success searching the ArcGIS Pro Python documentation for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 02:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693034#M53720</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-25T02:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693035#M53721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I contacted esri tech support and they determined that the image is published, but it is&amp;nbsp;being published&amp;nbsp;under an organization&amp;nbsp;operated by a division of esri rather than under the normal main esri organization, and my organization's security doesn't recognize that&amp;nbsp;division and is blocking me from accessing the data.&amp;nbsp; So I will have to talk to my AGOL administrator to see if he either can grant me rights to see data published by that esri division or can move the data as a service under my organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the notebook is expecting an image service and the tech person did not think it can be served from my local machine without a substantial rewrite of the code, but she said she would talk to some of the Python specialists to see if they can suggest any options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I will post back if I make any progress.&amp;nbsp; I also will see if any of the other deep learning notebooks has a different way of setting up the training data that might work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 19:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693035#M53721</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-25T19:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693036#M53722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pretty bad if you can't work with locally stored data.&amp;nbsp; keep us posted Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 22:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693036#M53722</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-07-25T22:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693037#M53723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After doing some searching it looks like ArcPy handles local data and arcgis.GIS handles webmap data and the two don't really mix.&amp;nbsp; So while I figured out that I can load a local layer into a Jupyter notebook by using&amp;nbsp;arcpy.MakeRasterLayer_management, I can't display it in a webmap.&amp;nbsp; It looks like &lt;A href="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/"&gt;Spatially Enabled Dataframes&lt;/A&gt; can handle both local and online data together, but it seems to be more of an environment for manipulating feature class data in tabular format than it is for visualizing rasters&amp;nbsp;on a map.&amp;nbsp; Anyway, it does look like the code would have to undergo a major rewrite to work with a mixture of local and online data, if it is even possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to use an anonymous login to ArcGIS Online, but that only caused more errors.&amp;nbsp; The security issue seems to be that the data is housed in an online location that is requiring https security and my organization's setup is not compliant with the ssl certification protocols required to access the data.&amp;nbsp; It is a little frustrating that they didn't just post this data like all the other esri services that I can access through Portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My best bet may be to publish the image data I downloaded from the Conservancy as an Image Service through my organization, although I am not completely sure even that will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 04:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693037#M53723</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-26T04:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693038#M53724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it looks like even if I could access the data that I personally can't&amp;nbsp;really run any of the deep learning code.&amp;nbsp; Virtually all of the tools involved in model training require full access to Image Server.&amp;nbsp; While I believe my organization has Image Server, I personally don't have rights to access it. I find some of the documentation in the notebook and elsewhere to be misleading when it says that code like this can be run in ArcGIS Pro, since it looks like none of it really is run directly by Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I feared that esri was blowing smoke at the conference saying that deep learning is coming to ArcGIS, when in reality it looks like it is only&amp;nbsp;available&amp;nbsp;to an extremely small percentage of their users and only an extremely small percentage of them will ever have any interest in tackling the learning curve.&amp;nbsp; I estimate that 99% of the people that attended their deep learning presentations at the UC wasted their time, since they will never&amp;nbsp;have the rights to use&amp;nbsp;deep learning&amp;nbsp;with the way esri is currently deploying it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My frustration is that while the potential of deep learning is obvious to me, I didn't get enough information at the UC and can't get enough information from esri web articles to even intelligently talk to&amp;nbsp;my organization about&amp;nbsp;all of the licenses and server set ups we really would need to even attempt to use it.&amp;nbsp; I&amp;nbsp;feel like there is&amp;nbsp;no way for me to know&amp;nbsp;if what we already have is enough or if we can&amp;nbsp;justify the cost of upgrading&amp;nbsp;our enterprise agreement and systems to make deep learning even possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 20:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693038#M53724</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-26T20:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693039#M53725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;There is a large community out there using some of the packages without having Arc-anything installed.&lt;/P&gt;&lt;P&gt;Seemingly, they have package and approach .&amp;nbsp; It isn't the only way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/keras-team/keras" title="https://github.com/keras-team/keras"&gt;GitHub - keras-team/keras: Deep Learning for humans&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/tensorflow/tensorflow" title="https://github.com/tensorflow/tensorflow"&gt;GitHub - tensorflow/tensorflow: An Open Source Machine Learning Framework for Everyone&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Microsoft/cntk" title="https://github.com/Microsoft/cntk"&gt;GitHub - microsoft/CNTK: Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dependencies, python usually numpy... the above are only a few of the sampling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are locked down without admin rights on your machine, it might be worthwhile getting yourself a separate testing machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/" title="https://stackoverflow.com/"&gt;Stack Overflow - Where Developers Learn, Share, &amp;amp; Build Careers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is a good source to a bit of trolling after the basic introductory materials.&lt;/P&gt;&lt;P&gt;The big question is what do you want to use "IT" for?&amp;nbsp; Like any tool, new and cool isn't necessarily a requirement to jump on the bandwagon.&lt;/P&gt;&lt;P&gt;Remember ... factor analysis, analysis of variance... even hot spot analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like this quote&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.quora.com/What-have-been-the-major-paradigm-shifts-in-data-science" title="https://www.quora.com/What-have-been-the-major-paradigm-shifts-in-data-science"&gt;What have been the major paradigm shifts in data science? - Quora&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 22:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693039#M53725</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-07-26T22:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693040#M53726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the links and comments.&amp;nbsp; The answer to "what do I want to use 'IT' for?' initially is orthophoto image analysis.&amp;nbsp; The value of AI was proven to me by the building footprints Microsoft released.&amp;nbsp; The inclusion of those 800K shapes overnight in my source data has allowed me to quickly analyze and dramatically improve the positional accuracy of my address points, parcels, land use tracking cases, general plan, zoning, cities, etc in a very short amount of time single-handed, which was never possible before.. But the Microsoft data is already getting out of date and I am certain that AI is the only practical way to make the maintenance of this layer possible for my jurisdiction and the 29 cities we encompass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be part of the ability&amp;nbsp;to create and maintain&amp;nbsp;data in near real-time, with ever increasing resolution&amp;nbsp;that is comprehensible and integrated across multiple&amp;nbsp;objects in a variety of formats at scales both large and small for my jurisdiction.&amp;nbsp; Currently my jurisdiction is most lacking in its ability to extract useful information from&amp;nbsp;&lt;SPAN&gt;orthophoto&lt;/SPAN&gt; imagery that goes beyond making it a map background,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 05:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693040#M53726</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-27T05:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693041#M53727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found &lt;A href="https://www.youtube.com/watch?v=M3EZS__Z_XE" rel="nofollow noopener noreferrer" target="_blank"&gt;this video on image segmentation using UNet&lt;/A&gt;&amp;nbsp;to detect cell nuclei in images, which shows the basic principles of a modeling&amp;nbsp;approach that I think could be adapted to extract building footprints from aerials.&amp;nbsp; I was able to get the code to work after pip installing&amp;nbsp;a few site packages (opencv-python, tensorflow and tensorflow-gpu) and some NVidia developer software for GPU acceleration (CUDA 10.0 and CUDNN 7.6.2.24).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The division of the training/test data into tiles or chips was not done by the video example code, so I still have to deal with developing my own routines for preparing training data from much larger rasters, since the arcgis.learn.export_training_data() method esri has created requires access rights I don't have.&amp;nbsp; My starting data is similar to the esri sample, since I have a raster covering a much bigger extent than my area of interest, and a polygon layer of building footprints within my area of interest that optionally could be converted to a classified raster.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;export &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; learn&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;export_training_data&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;input_raster&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;naip_input_layer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                                    output_location&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;samplefolder&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                                    input_class_data&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;label_layer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;url&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
                                    chip_format&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PNG"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
                                    tile_size&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"x"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;400&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"y"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;400&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
                                    stride_size&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"x"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"y"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
                                    metadata_format&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Classified_Tiles"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;                                        
                                    context&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"startIndex"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"exportAllTiles"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"cellSize"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                                    gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The export_training_data method parameters&amp;nbsp;suggest that this tool is very similar to the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/split-raster.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Split Raster tool&lt;/A&gt;.&amp;nbsp; I don't have experience using the Split Raster tool either, but it looks like the main difference in the parameters seems to be the metadata_format that outputs Classified Tiles.&amp;nbsp; I wish I could see a sample of the output of the&amp;nbsp;&lt;SPAN&gt;export_training_data method that I could compare to the Split Raster output so that I could determine what, if any, additional processing&amp;nbsp;is done beyond what the Split Raster tool does.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The video example seems to handle training and testing of the model fairly well, however, it does not deal with creating a final model output from a new raster and it seems best suited to processing separate photos that do not have to be reassembled into a single image at the end, so I would also have to figure out how to accomplish that.&amp;nbsp; The esri example seems to have enclosed the final classification process in a black box method.&amp;nbsp; I assume that method tiles the new raster and combines the&amp;nbsp;tiles at the end to create a final classified raster covering the original raster extent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I would appreciate your thoughts on the assumptions I am making and any suggestions you may have that might help me create code or apply other techniques&amp;nbsp;so that I could design a process of my own that might work for my needs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693041#M53727</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-12T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693042#M53728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found this link for the github code for a &lt;A href="https://github.com/yangsiyu007/SpaceNetExploration"&gt;deep learning project that extracts building footprints from satellite imagery&lt;/A&gt;.&amp;nbsp; An &lt;A href="https://azure.microsoft.com/en-us/blog/how-to-extract-building-footprints-from-satellite-images-using-deep-learning/"&gt;overview description of the the project is here&lt;/A&gt;.&amp;nbsp; I have not tried it or really explored the code yet, but at least initially this seems to be much closer to the kind of code I need.&amp;nbsp; The code was designed for use in Linux, so I expect it will need some tweaking to run in Windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 20:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693042#M53728</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-07-31T20:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693043#M53729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will look at this sometime soon, but I have other distractions to deal with &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 21:40:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693043#M53729</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-07-31T21:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693044#M53730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to run code from the last link I posted, but the code was developed by Microsoft and is promoting the use of Azure.&amp;nbsp; I am having problems setting up the Azure workspace, and I don't really want to risk getting charged for storing data that is purely experimental at first.&amp;nbsp; I am frustrated that most of my problems are centered around licencing and access requirements of proprietary software or the set up of online services that may require payment and can't even begin&amp;nbsp;running the code that actually processes any imagery or does any deep learning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found yet another &lt;A href="https://github.com/rcdilorenzo/abfs"&gt;GitHub project for extracting building footprints&lt;/A&gt; described by &lt;A href="https://www.youtube.com/watch?v=weYqdY7JY_g"&gt;the video here&lt;/A&gt;.&amp;nbsp; This code was developed by a graduate student.&amp;nbsp; He limited himself to using 3-band imagery, which is the kind of imagery I have.&amp;nbsp; I am not sure how easy this code is to run, but it seems to include a command line interface, which seems nice.&amp;nbsp; Hopefully it avoids software that isn't open source and online resources that have to be paid for, but I haven't verified that yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 18:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693044#M53730</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-08-01T18:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693045#M53731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What really got me interested in deep learning was the &lt;A href="https://github.com/Microsoft/USBuildingFootprints"&gt;Microsoft Building Footprints&lt;/A&gt;&amp;nbsp;and really my goal is to essentially recreate their process so that I can apply it to more recent aerial photos.&amp;nbsp; They applied Semantic Segmentation like the project in my previous post, but they achieved much better results.&amp;nbsp; Apparently it is crucial to incorporate&amp;nbsp;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;RefineNet upsampling layers described in this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://arxiv.org/abs/1611.06612" rel="nofollow" style="color: #0366d6; background-color: #ffffff; text-decoration: none;"&gt;paper&lt;/A&gt;&amp;nbsp;in the code to achieve&amp;nbsp;resolutions that make it possible to extract individual building footprints when buildings cluster near each other.&amp;nbsp; The RefineNet paper included &lt;A href="https://github.com/guosheng/refinenet"&gt;a link to the MATLAB code they used&lt;/A&gt;&amp;nbsp;and their github page included &lt;A href="https://github.com/DrSleep/refinenet-pytorch"&gt;a link to a PyTorch implementation of RefineNet&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly I have not found any code published by Microsoft related to the footprints they created, so I am stuck trying to build up enough of a knowledge base to move beyond just a conceptual understanding of what they did toward&amp;nbsp;my own practical applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 17:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693045#M53731</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-08-02T17:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693046#M53732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried running the&amp;nbsp;code from the &lt;A href="https://github.com/drsleep/light-weight-refinenet"&gt;Light-Weight RefineNet (in PyTorch)&lt;/A&gt;&amp;nbsp;Github project.&amp;nbsp; I was able to run the notebooks without a problem using the pretrained models.&amp;nbsp; However, when I tried to run the model training script I was unable to complete the first epoch, because&amp;nbsp;it used up all of my GPU memory.&amp;nbsp; I am using NVidia Quadro P4000 with 8 GB VRam.&amp;nbsp; I thought the batch size was defaulting to 1, but it was actually set to 6 or higher.&amp;nbsp; I appears I am able to run the model after setting the batch size to 5 or less.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693046#M53732</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-08-06T15:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693047#M53733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey richard did you this post&amp;nbsp;&lt;A class="link-titled" href="https://medium.com/geoai/building-footprint-extraction-and-damage-classification-8a5458759332" title="https://medium.com/geoai/building-footprint-extraction-and-damage-classification-8a5458759332"&gt;https://medium.com/geoai/building-footprint-extraction-and-damage-classification-8a5458759332&lt;/A&gt;&amp;nbsp;, we did this using&amp;nbsp;ArcGIS Pro and the python API, it uses U-Net under the hood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:46:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693047#M53733</guid>
      <dc:creator>SandeepKumar11</dc:creator>
      <dc:date>2019-08-13T18:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693048#M53734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had not seen that.&amp;nbsp; Is there any code I could see that is related to the image?&amp;nbsp; What was involved in training the model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693048#M53734</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-08-13T18:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693049#M53735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing a sample notebook for that but we majorly used arcgis.learn module in the python API to train a U-Net model. The training data was exported using the "Export Training data for deep learning" tool in ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693049#M53735</guid>
      <dc:creator>SandeepKumar11</dc:creator>
      <dc:date>2019-08-13T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693050#M53736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The notebook this post was originally based on was set up to use Image Services and Image Server.&amp;nbsp; Will your code work with data stored locally rather than online or using Image Server?&amp;nbsp; Will it work with just an&amp;nbsp;Image Analyst licence in ArcGIS Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693050#M53736</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-08-13T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help using the land_cover_classification_using_unet jupyter notebook sample</title>
      <link>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693051#M53737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;"Export Training data for deep learning" tool in ArcGIS Pro can be used to do that.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-the-land-cover-classification-using/m-p/693051#M53737</guid>
      <dc:creator>SandeepKumar11</dc:creator>
      <dc:date>2019-08-13T19:27:15Z</dc:date>
    </item>
  </channel>
</rss>

