File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ OmniWaterMask is a Python library for high accuracy water segmentation in high t
2525
2626[ ![ Colab_Button]] [ Link ]
2727
28- [ Link ] : https://colab.research.google.com/drive/15qgTgk4XiWcSzllNt4CtFU7pDSNrKLHk?usp=sharing ' Try OmniWaterMask In Colab '
28+ [ Link ] : https://colab.research.google.com/github/DPIRD-DMA/OmniWaterMask/blob/main/examples/Sentinel%202%20example.ipynb ' Try OmniWaterMask In Colab '
2929
3030[ Colab_Button ] : https://img.shields.io/badge/Try%20in%20Colab-grey?style=for-the-badge&logo=google-colab
3131
Original file line number Diff line number Diff line change 11{
22 "cells": [
3+ {
4+ "cell_type": "code",
5+ "execution_count": null,
6+ "metadata": {},
7+ "outputs": [],
8+ "source": [
9+ "try:\n",
10+ " import google.colab # type: ignore # noqa: F401\n",
11+ "\n",
12+ " %pip install -q omniwatermask==0.5 s2mosaic\n",
13+ " %pip uninstall -q -y torch torchvision torchaudio\n",
14+ " %pip install -q --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio\n",
15+ "except ImportError:\n",
16+ " pass"
17+ ]
18+ },
319 {
420 "cell_type": "code",
521 "execution_count": 1,
You can’t perform that action at this time.
0 commit comments