Skip to main content

The ICEBERG Penguin colony usecase package

Project description

Quality Metrics

Build Status

Software Dependencies

  • boost==1.66.0
  • gdal==2.1.4
  • geotiff==1.4.2
  • matplotlib==2.1.0
  • opencv==2.4.13
  • openjpeg==2.1.2
  • pillow==4.2.1
  • python==2.7.15
  • pytorch==0.3.1
  • rasterio==0.36.0
  • scikit-learn==0.19.1
  • scipy==1.2.1
  • scipy==0.19.0
  • torchvision==0.2.0
  • visdom==0.1.8.9

Installation

PSC Bridges

From source:

$ git clone https://github.com/iceberg-project/Penguins.git
$ module load cuda
$ module load python3
$ virtualenv iceberg_penguins
$ source iceberg_penguins/bin/activate
[iceberg_penguins] $ export PYTHONPATH=<path>/iceberg_penguins/lib/python3.5/site-packages
[iceberg_penguins] $ pip install . --upgrade

From PyPi:

$ module load cuda
$ module load python3
$ virtualenv iceberg_penguins
$ source iceberg_penguins/bin/activate
[iceberg_penguins] $ export PYTHONPATH=<path>/iceberg_penguins/lib/python3.5/site-packages
[iceberg_penguins] $ pip install iceberg_penguins.search

To test

[iceberg_penguins] $ iceberg_penguins.detect

Prediction

  • Download a pre-trained model at:

https://drive.google.com/file/d/149j5rlynkO1jQTLOMpL5lextHY0ozw6N/view?usp=sharing

Please put the model file to: <checkpoints_dir>/<model_name>/

The one provided here is at the epoch 300 of the model named "v3weakly_unetr_bs96_main_model_ignore_bad"

  • The script to run the testing for a single PNG image:

iceberg_penguins.detect [--params ...]

params:

  • --name: name of the model used for testing
  • --gpu_ids: the gpu used for testing
  • --checkpoints_dir: path to the folder containing the trained models
  • --epoch: which epoch we use to test the model
  • --input_im: path to the input image
  • --output: directory to save the outputs

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

iceberg_penguins.search-0.2.4.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

iceberg_penguins.search-0.2.4-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file iceberg_penguins.search-0.2.4.tar.gz.

File metadata

  • Download URL: iceberg_penguins.search-0.2.4.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for iceberg_penguins.search-0.2.4.tar.gz
Algorithm Hash digest
SHA256 865f3dcdde50cc159a3d7a65155ec224029f0d05ee6d1b82969f108c52ef7d36
MD5 9847b15d51dff783b8987e509306f16d
BLAKE2b-256 e7679c85bf968cb4c932713ac1d6f7f20bb3a3a0e7ad5457af23e289e92ac863

See more details on using hashes here.

File details

Details for the file iceberg_penguins.search-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: iceberg_penguins.search-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for iceberg_penguins.search-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e54ff0a18185b21d23d25ffc19a1230a3a8ec4ceec80285d473792b91b56e22
MD5 5fccc54f4fc2f3677dfb9f67e67657c4
BLAKE2b-256 2e1f44747286aa1469238e8eb161c4d17d8e5b2cb61f8154313d59b670075b29

See more details on using hashes here.

Supported by

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