Skip to content

Commit 5cc7d5e

Browse files
priyankatutejaPriyanka Tuteja
andauthored
shrinking lakes notebook using pretrained model (#1124)
* shrinking lakes notebook using pretrained model * changes suggested * changes suggested * changes suggested * changes suggested * changes suggested * minor changes in other files * changes incorporated * changes with tta * merge classes added Co-authored-by: Priyanka Tuteja <[email protected]>
1 parent 1d2ebf5 commit 5cc7d5e

File tree

3 files changed

+725
-5
lines changed

3 files changed

+725
-5
lines changed

PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Please go through each entry in the below checklist and mark an 'X' if that cond
1515
- `gis = GIS()`
1616
- `gis = GIS('home')` or `gis = GIS('pro')`
1717
- `gis = GIS(profile="your_online_portal")`
18-
- `gis = GIS('https://pythonapi.playground.esri.com/portal')`
1918
- `gis = GIS(profile="your_enterprise_portal")`
2019
- [ ] If this notebook requires setup or teardown, did you add the appropriate code to `./misc/setup.py` and/or `./misc/teardown.py`?
2120
- [ ] 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?
@@ -24,4 +23,5 @@ Please go through each entry in the below checklist and mark an 'X' if that cond
2423
- [ ] Consistent voice/tense/narrative style? Thoroughly checked for typos?
2524
- [ ] All images used like `<img src="base64str_here">` instead of `<img src="https://some.url">`? All map widgets contain a static image preview? (Call `mapview_inst.take_screenshot()` to do so)
2625
- [ ] All file paths are constructed in an OS-agnostic fashion with `os.path.join()`? (Instead of `r"\foo\bar"`, `os.path.join(os.path.sep, "foo", "bar")`, etc.)
26+
- [ ] Is your code formatted using [Jupyter Black](https://www.freecodecamp.org/news/auto-format-your-python-code-with-black/)? You can use Jupyter Black to format your code in the notebook.
2727
- [ ] **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

guide/01-getting-started/install-and-set-up.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,18 +221,18 @@
221221
"metadata": {},
222222
"source": [
223223
"#### conda\n",
224-
"Open a terminal application, navigate to the directory you want to work in and activate the conda `environment` you want to use with the ArcGIS API for Python. Install the API with the following command:\n",
224+
"Open a terminal application, navigate to the directory you want to work in, and activate the conda `environment` you want to use with the ArcGIS API for Python. Install the API with the following command:\n",
225225
"\n",
226226
"``conda install -c esri arcgis``\n",
227227
"\n",
228228
"> Note: You can also use the `-n <environment_name>` flag to install the package into an environment of your choosing. \n",
229229
"\n",
230230
"![install arcgis package mac](http://esri.github.io/arcgis-python-api/notebooks/nbimages/install_arcgis_pkg_mac.png)\n",
231231
"\n",
232-
"\n",
232+
"For more detials, read [here](https://developers.arcgis.com/python/guide/understanding-conda/).\n",
233233
"\n",
234234
"#### Pipenv\n",
235-
"[Pipenv](https://docs.pipenv.org/) is the official packaging tool for managing environments and installing packages from the [Python Package Index (PyPI)](https://pypi.python.org/pypi). To install the ArcGIS API for Python from PyPI in a new environment, create a new folder named `your-folder`. Open a terminal, and run `cd /path/to/your-folder` to change directories into `your-folder`. Then, enter the following command to simultaneously create a new environment and install the API in it:\n",
235+
"[Pipenv](https://docs.pipenv.org/) is the official packaging tool for managing environments and installing packages from the [Python Package Index (PyPI)](https://pypi.python.org/pypi). To install the ArcGIS API for Python from PyPI in a new environment, create a new folder named `your-folder`. Then, open a terminal, and run `cd /path/to/your-folder` to change directories into `your-folder`. Next, enter the following command to simultaneously create a new environment and install the API in it:\n",
236236
"\n",
237237
"``pipenv install arcgis``"
238238
]
@@ -256,7 +256,7 @@
256256
"\n",
257257
"To install the API with no dependencies, simply add the `--no-deps` flag to any install command, i.e. `conda install -c esri arcgis --no-deps` or `pip install arcgis --no-deps`. \n",
258258
"\n",
259-
"The above set of dependencies should allow you to establish a connection with your web GIS and perform a number of administrative and other tasks which involve processing on your GIS rather than in your Python kernel. Depending on your OS, this set up with minimal dependencies should take up about `50` mb in space. As your needs expand, you can then manually choose which dependencies to add to your Python environment. For instance, you can install `pandas` if you require to work with spatially enabled DataFrames and `jupyter` if you need the notebook IDE."
259+
"The above set of dependencies should allow you to establish a connection with your web GIS and perform a number of administrative and other tasks which involve processing on your GIS rather than in your Python kernel. Depending on your OS, this set up with minimal dependencies should take up about `50` mb in space. As your needs expand, you can then manually choose which dependencies to add to your Python environment. For instance, you can install `pandas` if you require to work with spatially enabled DataFrames and `jupyter`, if you need the notebook IDE."
260260
]
261261
},
262262
{

samples/04_gis_analysts_data_scientists/measure_shrinking_lakes_using_deep_learning.ipynb

Lines changed: 720 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)