<?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: Object detection with ArcGIS API job failed error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073101#M6277</link>
    <description>&lt;P&gt;It's not possible to run the deep learning models in ArcGIS Online. You basically have 3 options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Enterprise with ArcGIS Image Server&lt;/LI&gt;&lt;LI&gt;ArcGIS Pro with the Image Analyst extension&lt;/LI&gt;&lt;LI&gt;ArcGIS Python API (dependent on model type)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The sample notebook you are following has the following in the prerequisites section:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This sample demonstrates how to do export training data and model inference using ArcGIS Image Server. Alternatively, they can be done using ArcGIS Pro as well.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you don't have either Image Server or Pro + Image Analyst, there are prediction (detection) functions in the ArcGIS Python API &lt;U&gt;for some models&lt;/U&gt;. SingleShotDetector does have one:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.learn.toc.html#arcgis.learn.SingleShotDetector.predict" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.learn.toc.html#arcgis.learn.SingleShotDetector.predict&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ssd.predict(image_path, threshold=0.5, nms_overlap=0.1, return_scores=False, visualize=False, resize=False)&lt;/LI-CODE&gt;&lt;P&gt;It returns&amp;nbsp;a&amp;nbsp;List of xmin, ymin, width, height of predicted bounding boxes on the given image.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jun 2021 07:14:15 GMT</pubDate>
    <dc:creator>Tim_McGinnes</dc:creator>
    <dc:date>2021-06-28T07:14:15Z</dc:date>
    <item>
      <title>Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073019#M6275</link>
      <description>&lt;P&gt;Purpose: I want to detect and count objects from downloaded map images.&lt;/P&gt;&lt;P&gt;Map data: I use a high-resolution google earth map image with ArcGIS pro.&lt;/P&gt;&lt;P&gt;Model: I used a single-shot detector. I trained the model with a labeled image that I did through ArcGIS pro.&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/sample-notebooks/detecting-swimming-pools-using-satellite-image-and-deep-learning/" target="_blank"&gt;https://developers.arcgis.com/python/sample-notebooks/detecting-swimming-pools-using-satellite-image-and-deep-learning/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/object-detection/" target="_blank"&gt;https://developers.arcgis.com/python/guide/object-detection/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Problems and Question (4 questions)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;When I save my model, the '.zip' file does not appear. The Models folder has (ModelCharacteristics folder, ArcGISobjectDetector python file, model_metrics chrome HTML Document, .dlpk, emd, and .pth files). When I followed the references above, they used the '.zip' file for 'gis.content.add' function.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_0-1624823848411.png" style="width: 610px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17103iB60284C74E4D4D38/image-dimensions/610x92?v=v2" width="610" height="92" role="button" title="TaehyunYoon1_0-1624823848411.png" alt="TaehyunYoon1_0-1624823848411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_1-1624823860960.png" style="width: 604px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17104i35EAFE7ADF525FA4/image-dimensions/604x91?v=v2" width="604" height="91" role="button" title="TaehyunYoon1_1-1624823860960.png" alt="TaehyunYoon1_1-1624823860960.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_2-1624823881994.png" style="width: 590px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17105i3F28ED81CF931C2A/image-dimensions/590x86?v=v2" width="590" height="86" role="button" title="TaehyunYoon1_2-1624823881994.png" alt="TaehyunYoon1_2-1624823881994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Instead of the “.zip” file, I used a “.dlpk” file for “gis.content.add” function.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_3-1624823904393.png" style="width: 567px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17106i2AE7729D839388A2/image-dimensions/567x108?v=v2" width="567" height="108" role="button" title="TaehyunYoon1_3-1624823904393.png" alt="TaehyunYoon1_3-1624823904393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_4-1624823914606.png" style="width: 554px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17107iBE459292417A3B5F/image-dimensions/554x333?v=v2" width="554" height="333" role="button" title="TaehyunYoon1_4-1624823914606.png" alt="TaehyunYoon1_4-1624823914606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;I shared the ".tiff" image file to ArcGIS online content from ArcGIS pro web-share&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_7-1624824105758.png" style="width: 512px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17110iEC1EFCF9E6007A5D/image-dimensions/512x289?v=v2" width="512" height="289" role="button" title="TaehyunYoon1_7-1624824105758.png" alt="TaehyunYoon1_7-1624824105758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_6-1624823962095.png" style="width: 510px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17109i5DEF8874A18B956A/image-dimensions/510x279?v=v2" width="510" height="279" role="button" title="TaehyunYoon1_6-1624823962095.png" alt="TaehyunYoon1_6-1624823962095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;I followed references, but it did not work. It notices me only “job failed.” I could not figure out what is the problem.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 20:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073019#M6275</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-06-27T20:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073101#M6277</link>
      <description>&lt;P&gt;It's not possible to run the deep learning models in ArcGIS Online. You basically have 3 options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Enterprise with ArcGIS Image Server&lt;/LI&gt;&lt;LI&gt;ArcGIS Pro with the Image Analyst extension&lt;/LI&gt;&lt;LI&gt;ArcGIS Python API (dependent on model type)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The sample notebook you are following has the following in the prerequisites section:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This sample demonstrates how to do export training data and model inference using ArcGIS Image Server. Alternatively, they can be done using ArcGIS Pro as well.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you don't have either Image Server or Pro + Image Analyst, there are prediction (detection) functions in the ArcGIS Python API &lt;U&gt;for some models&lt;/U&gt;. SingleShotDetector does have one:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.learn.toc.html#arcgis.learn.SingleShotDetector.predict" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.learn.toc.html#arcgis.learn.SingleShotDetector.predict&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ssd.predict(image_path, threshold=0.5, nms_overlap=0.1, return_scores=False, visualize=False, resize=False)&lt;/LI-CODE&gt;&lt;P&gt;It returns&amp;nbsp;a&amp;nbsp;List of xmin, ymin, width, height of predicted bounding boxes on the given image.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 07:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073101#M6277</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-06-28T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073433#M6280</link>
      <description>&lt;P&gt;I appreciate your prompt response Tim!!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am working on ArcGIS Python API. Although I don’t know what the Image Analyst extension is, I also use the ArcGIS pro I purchased.&lt;BR /&gt;Although I was supposed to use ArcGIS Pro for this project, I faced a GPU prerequisite problem. For this reason, I am working on my school’s computing resource center server with ArcGIS Python API.&lt;BR /&gt;I labeled rectangular boxes on the training dataset through ArcGIS Pro and trained a deep learning model on ArcGIS Python API.&lt;BR /&gt;I do not fully understand how to use “ssd.predict” command. Do I have to use it after I train my model?&lt;BR /&gt;Please let me know where I can get the sample code for using “ssd.predict”?&lt;BR /&gt;Actually, I am a Ph.D. student in a different field. I only want to get data through object detection of satellite image data. If you have any better suggestions for this purpose, It will great help for me.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 20:29:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073433#M6280</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-06-28T20:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073516#M6282</link>
      <description>&lt;P&gt;Yes after training you can run the predict function straight away:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.learn import SingleShotDetector, prepare_data
data_path = r'&amp;lt;path&amp;gt;\ImageChips' 
data = prepare_data(data_path)
ssd = SingleShotDetector(data)
ssd.lr_find()
ssd.fit(5, lr=1e-2)
ssd.show_results()
ssd.plot_losses()
ssd.average_precision_score()
ssd.save(r'&amp;lt;path&amp;gt;\&amp;lt;model&amp;gt;',save_inference_file=True)
listresults=ssd.predict(image_path, threshold=0.5, nms_overlap=0.1, return_scores=True, visualize=False, resize=False)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;To load the saved model from disk and predict you should be able to do:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.learn import SingleShotDetector
ssd = SingleShotDetector.from_model(r'&amp;lt;path_to_model_emd_file&amp;gt;')
listresults=ssd.predict(image_path, threshold=0.5, nms_overlap=0.1, return_scores=True, visualize=False, resize=False)&lt;/LI-CODE&gt;&lt;P&gt;The threshold parameter is the important one - the example above will only return detection over 50% confidence.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 23:11:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1073516#M6282</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-06-28T23:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1074947#M6300</link>
      <description>&lt;P&gt;Thank you Tim,&lt;/P&gt;&lt;P&gt;Is it possible to visualize as .tiff image?&lt;/P&gt;&lt;P&gt;Also, can I count detected objects?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 20:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1074947#M6300</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-01T20:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075347#M6305</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I faced a different problem that has not been a problem so far.&lt;BR /&gt;I am working on esri_learn deep learning dependencies.&lt;BR /&gt;The CUDA error below has not appeared before, even last night.&lt;BR /&gt;I re-installed dependencies, but it did not work.&lt;BR /&gt;Do you have any idea what the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_0-1625258132577.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17650i31ECC3B946320C37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_0-1625258132577.png" alt="TaehyunYoon1_0-1625258132577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 20:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075347#M6305</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-02T20:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075350#M6306</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_1-1625258282896.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17651iE10F07CF75CE058C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_1-1625258282896.png" alt="TaehyunYoon1_1-1625258282896.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_2-1625258294362.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17652i229FEF9C01A209A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_2-1625258294362.png" alt="TaehyunYoon1_2-1625258294362.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 20:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075350#M6306</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-02T20:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075388#M6307</link>
      <description>&lt;P&gt;It is a list, so the length of the list should be how many objects were detected - do for the above code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;numobjects=len(listresults)&lt;/LI-CODE&gt;&lt;P&gt;Unfortunately to see the bounding boxes you would have to take the xmin, ymin, width and height and create your own polygons. One of the advantages of using the ArcGIS Pro tools is that they do all that work for you.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 01:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075388#M6307</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-03T01:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075389#M6308</link>
      <description>&lt;P&gt;This could be indicating that your graphics card may not be supported. What model is your card?&lt;/P&gt;&lt;P&gt;There's a fairly long discussion here about the error:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/pytorch/pytorch/issues/31285" target="_blank" rel="noopener"&gt;https://github.com/pytorch/pytorch/issues/31285&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 01:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075389#M6308</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-03T01:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075394#M6309</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_0-1625278017344.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17662iB1889E99F4207424/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_0-1625278017344.png" alt="TaehyunYoon1_0-1625278017344.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How did they do this visualization? this is from the reference notebooks above.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 02:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075394#M6309</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-03T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075396#M6310</link>
      <description>&lt;P&gt;I work on virtual machine and I use K40.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have never met this issue before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_1-1625278101258.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17663iCFC126819A38AC88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_1-1625278101258.png" alt="TaehyunYoon1_1-1625278101258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 02:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075396#M6310</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-03T02:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075397#M6311</link>
      <description>&lt;P&gt;Have you changed anything in the environment recently? According to the following page, K40 support was removed in pytorch 1.3. The latest versions of ArcGIS are using pytorch 1.4.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/pytorch/pytorch/issues/30532#" target="_blank" rel="noopener"&gt;https://github.com/pytorch/pytorch/issues/30532#&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe try finding an environment with a newer GPU - you should probably see if there's anyone in your schools IT department who could help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 02:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075397#M6311</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-03T02:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075398#M6312</link>
      <description>&lt;P&gt;They were using the ArcGIS Image Server to do the detect_objects function, which outputs polygons directly. Unfortunately the predict function can't do that.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 02:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075398#M6312</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-03T02:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075429#M6313</link>
      <description>&lt;P&gt;Hello Tim,&lt;BR /&gt;I appreciate that you are willing to help me.&lt;BR /&gt;I did not change the environment. I re-install "arcgis_learn" just in case, and I identified the version of PyTorch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/pytorch/pytorch/issues/31285" target="_blank"&gt;https://github.com/pytorch/pytorch/issues/31285&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaehyunYoon1_0-1625346733655.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17674i48A111E0B4D3C012/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaehyunYoon1_0-1625346733655.png" alt="TaehyunYoon1_0-1625346733655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea of what it means that "build from source"?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 21:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075429#M6313</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-03T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075486#M6314</link>
      <description>&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;I will have zoom meeting with the developer in our school tomorrow for figuring out GPU and PyTorch problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions.&lt;/P&gt;&lt;P&gt;1. Can I update or install a specific version of PyTorch on conda-esri environment?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If I purchase ArcGIS Enterprise, it is possible for me just to follow the references above?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 15:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075486#M6314</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-04T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075516#M6317</link>
      <description>&lt;P&gt;1. Yes you should be able to do it via the python command line: conda install -c esri pytorch=&amp;lt;version&amp;gt;. There is no guarantee that this will work however, as the esri python environment is very complicated with numerous modules.&lt;/P&gt;&lt;P&gt;Ask the developer if there is any way to get access to a different GPU that is supported.&lt;/P&gt;&lt;P&gt;Another workaround to consider is to force arcgis.learn to use the CPU instead of the GPU. It will be a lot slower but should work. See here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/imagery-and-remote-sensing/how-force-pytorch-to-use-cpu-instead-of-gpu/m-p/1046845#M6895" target="_blank" rel="noopener"&gt;How force Pytorch to use CPU instead of GPU?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. ArcGIS Enterprise + Image Server is very expensive (many thousands of $$) and complicated to setup. It would be much simpler to use ArcGIS Pro with the Image Analyst extension. Find out if your school has a license for Esri products, otherwise you may be able to get a Student License for $100\year:&amp;nbsp;&lt;A href="https://www.esri.com/en-us/arcgis/products/arcgis-for-student-use/overview" target="_blank" rel="noopener"&gt;ArcGIS for Student Use&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 22:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075516#M6317</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-04T22:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075517#M6318</link>
      <description>&lt;P&gt;It means to get the actual source code of pytorch, modify it to add the support for your GPU back in, then recompile it back into a Python module. It sounds difficult to achieve.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 22:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075517#M6318</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-07-04T22:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075519#M6319</link>
      <description>&lt;P&gt;I am already subscribing student License for $100/year. However, since I need to use a high-speed GPU, I have to work on a server offered by my school. I mean, I can work with Jupyter-notebook and ArcGIS python API.&lt;BR /&gt;I will ask the account manager of our school whether I can use ArcGIS Enterprise with an institute account.&lt;BR /&gt;Does ArcGIS Enterprise contain an Image Server? If I can use ArcGIS Enterprise, can I also use Image Server? or is it separate software?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 22:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075519#M6319</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-04T22:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075521#M6320</link>
      <description>&lt;P&gt;But I still feel it is weird. I have used it in the same environment before Friday morning. I changed nothing, rather I re-installed arcgis_learn. But your suggested link above was posted in 2019.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 22:15:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1075521#M6320</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-07-04T22:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection with ArcGIS API job failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1088058#M6465</link>
      <description>&lt;P&gt;Hello Tim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use ssd.predict with visualize=True, can I make the result picture bigger with better resolution?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 18:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/object-detection-with-arcgis-api-job-failed-error/m-p/1088058#M6465</guid>
      <dc:creator>TaehyunYoon1</dc:creator>
      <dc:date>2021-08-11T18:54:20Z</dc:date>
    </item>
  </channel>
</rss>

