Skip to main content

Utility package to run CHM jobs on clusters

Project description

chmutil

https://img.shields.io/pypi/v/chmutil.svg https://pyup.io/repos/github/crbs/chmutil/shield.svg https://travis-ci.org/CRBS/chmutil.svg?branch=master https://coveralls.io/repos/github/CRBS/chmutil/badge.svg?branch=master

Utility package to run Cascaded Hierarchical Model (CHM) jobs on clusters.

For more information visit our wiki page

Tools

  • createchmjob.py – Creates a set of CHM jobs to process a set of images on various compute clusters (Gordon, Comet, & Rocce)

  • checkchmjob.py – Checks status of jobs generated by createchmjob.py script

  • createchmtrainjob.py – Creates a CHM train job, runnable on various compute clusters (Comet & Rocce), which teaches CHM how to segment a desired feature. The output from this job is a trained model that is needed as an input for createchmjob.py

  • createchmimage.py – Simple image conversion utility

  • createprobmapoverlay.py – Overlays semi-transparent colored probability maps over base image

  • mergetiles.py – Merges a set of image tiles in a directory into single image

  • chmrunner.py – Internal tool that runs a CHM task created by createchmjob.py

  • mergetilerunner.py – Internal tool that runs Merge task created by createchmjob.py

Dependencies

Compatibility

  • Should work on Python 2.7 & 3+ on Linux distributions

Installation

pip install chmutil

Usage

# creates a job assuming images are in ./images and ./trainedmodel has
# chm model
createchmjob.py ./images ./trainedmodel myrun --cluster rocce

License

See LICENSE.txt

Bugs

Please report them here

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.7.0 (2017-06-09)

  • Added –gentiles flag to createchmimage.py to generate tiles from image that can be viewed in probability map viewer. Issue #42

  • Added –rawthreshold flag to createprobmapoverlay.py which lets caller specify exact pixel intensity value instead of percentage as offered with –threshpc. Issue #41

  • Added virtual_free to requirements for SGE jobs submitted by createchmtrainjob.py to rocce cluster. Issue #40

0.6.0 (2017-03-03)

  • Added –detailed option to checkchmjob.py. Issue #6

  • Added –addprobmap to createprobmapoverlay.py to enable additional probability maps to be overlayed. Issue #25

  • Added createchmtrainjob.py script that creates a CHM train job. Issue #19

  • Fixed incorrect script names in readme.txt generated by createchmjob.py. Issue #20

0.5.1 (2017-01-12)

  • Fixed account not being put into runjobs.gordon and runmerge.gordon. Issue #11

  • Fixed errors in checking job status examples in readme.txt created by createchmjob.py. Issue #12

0.5.0 (2017-01-11)

  • First release on PyPI.

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

chmutil-0.7.0.tar.gz (75.2 kB view details)

Uploaded Source

Built Distribution

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

chmutil-0.7.0-py2.py3-none-any.whl (80.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chmutil-0.7.0.tar.gz.

File metadata

  • Download URL: chmutil-0.7.0.tar.gz
  • Upload date:
  • Size: 75.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for chmutil-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f2b6e1c98f753c9344bb2743fbfdbe734d5508eed29a197de8e068960458c65d
MD5 8e90ea6ec2417b34310ebfb661fb3287
BLAKE2b-256 fac25b4d54a6f10eaf51f78db31e8e151b52690413288d1e02e993f8da12f0c2

See more details on using hashes here.

File details

Details for the file chmutil-0.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for chmutil-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a540837b5388ff565025d9dd586c85712706aaa619a19ad709945cb15cb682ba
MD5 84aa447d1ae173519ea64daf5becf13c
BLAKE2b-256 8acfa01739594334929d15b10e66ad673b1b83a369b0f79fd025336e8e738465

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