Skip to main content

Portable and lightweight brain segmentation using tinygrad

Project description

BrainChop

BrainChop is a lightweight tool for brain segmentation that runs on pretty much everything.


Installation

You can install BrainChop using pip:

pip install brainchop

Usage

To use BrainChop, run the following command:

brainchop input.nii.gz -o output.nii.gz

Where:

  • input.nii.gz is your input NIfTI file
  • output.nii.gz is the desired output file name

Requirements

  • Python 3.6+
  • tinygrad : our tiny and portable (but powerful) ML inference engine
  • numpy : basic tensor operations
  • nibabel : to read nifti files
  • requests : to download models

License

This project is licensed under the MIT License.

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

brainchop-0.1.7.tar.gz (609.3 kB view hashes)

Uploaded Source

Built Distribution

brainchop-0.1.7-py3-none-any.whl (610.0 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