Skip to main content

Parallel multiradial LBP features

Project description

fastLBP

Highly parallel LBP implementation

Installation

Підготовка середовища пітона (краще робити не на head node)

  • Знайти десь Python 3.11 (напр. conda create -n p11 python=3.11)
  • Перевірити що середовище правильне
    • python --version та pip --version
  • Встановити пакет через
    • pip install fastlbp-imbg
  • Або вручну через
    • git clone git@github.com:imbg-ua/fastLBP.git
    • pip install fastLBP

Наша директорія на lustre /lustre/scratch126/casm/team268im/

Implemented modules

run_skimage

Computes multiradial LBP of a single multichannel image in a parallel fashion.
This is a quick sample implementation that could be a baseline for further benchmarking.

Features:

  • Powered by skimage.feature.local_binary_pattern
  • Concurrency is managed by Python's multiprocessing module
  • Parallel computation via multiprocessing.Pool of size ncpus
  • Efficient memory usage via multiprocessing.shared_memory to make sure processes do not create redundant copies of data
  • It computes everything in RAM, no filesystem usage

TODO:

  • Use max_ram parameter to estimate optimal number of sub-processes and collect memory stats. Now max_ram is ignored.

Planned modules

run_chunked_skimage

Similar to 1. run_skimage, but each subprocess should compute LBP for its image chunk, not the whole image.

run_dask and run_chunked_dask

Similar to 1. run_skimage, but use Dask and dask.array.map_overlap for parallelisation instead of multiprocessing and manual data wrangling

Other notable things to try

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

fastlbp-imbg-0.0.1.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

fastlbp_imbg-0.0.1-py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 3

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