arcgis-python-api
arcgis-python-api copied to clipboard
Updated Deep Learning Sample Notebooks
Updated Deep Learning Sample Notebooks:
- [x] Feature Categorization using Satellite Imagery and Deep Learning
- [x] Land Cover Classification using Satellite Imagery and Deep Learning
- [x] Image scene classification using FeatureClassifier
Checklist
Please go through each entry in the below checklist and mark an 'X' if that condition has been met. Every entry should be marked with an 'X' to be get the Pull Request approved.
- [x] All
import
s are in the first cell?- [ ] First block of imports are standard libraries
- [ ] Second block are 3rd party libraries
- [ ] Third block are all
arcgis
imports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight.
- [x] All
GIS
object instantiations are one of the following?-
gis = GIS()
-
gis = GIS('home')
orgis = GIS('pro')
-
gis = GIS(profile="your_online_portal")
-
gis = GIS(profile="your_enterprise_portal")
-
- [ ] If this notebook requires setup or teardown, did you add the appropriate code to
./misc/setup.py
and/or./misc/teardown.py
? - [ ] If this notebook references any portal items that need to be staged on AGOL/Python API playground, did you coordinate with a Python API team member to stage the item the correct way with the
api_data_owner
user? - [ ] If the notebook requires working with local data (such as CSV, FGDB, SHP, Raster files), upload the files as items to the Geosaurus Online Org using
api_data_owner
account and change the notebook to first download and unpack the files. - [ ] Code simplified & split out across multiple cells, useful comments?
- [ ] Consistent voice/tense/narrative style? Thoroughly checked for typos?
- [ ] All images used like
<img src="base64str_here">
instead of<img src="https://some.url">
? All map widgets contain a static image preview? (Callmapview_inst.take_screenshot()
to do so) - [ ] All file paths are constructed in an OS-agnostic fashion with
os.path.join()
? (Instead ofr"\foo\bar"
,os.path.join(os.path.sep, "foo", "bar")
, etc.) - [ ] Is your code formatted using Jupyter Black? You can use Jupyter Black to format your code in the notebook.
- [ ] IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE, ping @ mohi9282 so he can add it to the list for the next deploy
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@anushriyaj Please qa these changes
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:43:53Z ----------------------------------------------------------------
### Put exclaimation mark- Added review
!pip install sentinelhub --upgrade
!pip install s2cloudless
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:53:21Z ----------------------------------------------------------------
Add: from datetime import datetime
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:53:22Z ----------------------------------------------------------------
Logged in with deldev account, resulted that FC collection by demos_deldev account
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:53:23Z ----------------------------------------------------------------
Added a comma
inferenced_lyr = classify_objects(input_raster=raster_for_inferencing, model = fc_model, model_arguments={'batch_size': 4},
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:55:52Z ----------------------------------------------------------------
Add overwrite flag=true
model.save('stage-1-10', publish=True, gis=ent_gis,overwrite=True)
View / edit / reply to this conversation on ReviewNB
anushriyaj commented on 2022-08-16T06:55:53Z ----------------------------------------------------------------
Add the raster layer for variable ras_lyr
@shivanip32 In this pr, no changes re visible from previous version.