Skip to main content

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

plot_boundary_extractor-0.3.2.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plot_boundary_extractor-0.3.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file plot_boundary_extractor-0.3.2.tar.gz.

File metadata

  • Download URL: plot_boundary_extractor-0.3.2.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for plot_boundary_extractor-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4f0db00a3a9c639edd77d61557df1887dd3fe8e074860c1e707831c06eab327e
MD5 1b9dd9c511a04d752154db03c6b91d0f
BLAKE2b-256 3054a209640a1bed9e2fe077dd36ccbfe30b41b4bb33230a351f89737c90e483

See more details on using hashes here.

File details

Details for the file plot_boundary_extractor-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for plot_boundary_extractor-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20540231a82c7a5a053ccd29bcd8c98a0826927c3edfd4bf430d47b046c57e8f
MD5 874260eeae9ecbbc318354e2729bf372
BLAKE2b-256 a5c04d5220a43b099cf4bdd95107af642669f6a3d374b027bbccfeb4973a6415

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page