Plot boundary extractor using segment anything model
Project description
plot-boundary-extractor
plot boundary extractor using segment anything model
Install virtual environment
conda create -n pbe -c conda-forge gdal python=3.10 -y
conda activate pbe
Install plot boundary extractor
pip install plot-boundary-extractor
Install torch
(CPU)
pip install torch torchvision
(GPU)
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
Install SAM and download checkpoint file
pip install git+https://github.com/facebookresearch/segment-anything.git
wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plot_boundary_extractor-0.3.1.tar.gz.
File metadata
- Download URL: plot_boundary_extractor-0.3.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e205923c378d5ae2758e731bfcfc7257f8f574d62a7675833f2861d940d7bb
|
|
| MD5 |
a4d597b39bb0bbd7b79b041d905cdc45
|
|
| BLAKE2b-256 |
ffa18ef603086b305d0b0ef77627e871aef7947b16cfe86877eebdd360143c45
|
File details
Details for the file plot_boundary_extractor-0.3.1-py3-none-any.whl.
File metadata
- Download URL: plot_boundary_extractor-0.3.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3ad5e43a65c159195ad4f5ef99be59499e6a46f1f48e1b3cb6fe5e3282f1d7a
|
|
| MD5 |
bcdbc4a386150dd809346f06858bc9d1
|
|
| BLAKE2b-256 |
0083ae18fa6682779391f17f72921ce608ab469d0352010e315c073835e5e0db
|