Skip to main content

My lovely python package

Project description

LovelyPancake

LovelyPancake is a general-purpose Python package for machine learning, starting with a robust set of tools for image segmentation. It currently features implementations of U-Net-based models with plans to extend into other machine learning domains.

Installation

To install LovelyPancake, run:

pip install lovelypancake

Requirements

The package requires Python 3.x and TensorFlow 2.x. Install all dependencies with:

pip install -r requirements.txt

Current Features

  • U-Net model architecture for image segmentation tasks.
  • Attention U-Net and Attention Residual U-Net for advanced segmentation needs.
  • Modular design for easy customization and extension of model components.
  • Pre-built loss functions and metrics commonly used in image segmentation.

Future Scope

  • Expansion to include a wide range of machine learning models beyond image segmentation.
  • Utility functions for data preprocessing, augmentation, and evaluation metrics.
  • Integration with other machine learning frameworks and tools.

Usage

To create and use a U-Net model:

from lovelypancake.models import unet

model = unet(input_shape=(256, 256, 3), NUM_CLASSES=2, dropout_rate=0.1, batch_norm=True)
model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])

For detailed examples and more advanced usage, see the Documentation [Under Progres...].

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

lovely-pancake-1.0.6.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

lovely_pancake-1.0.6-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file lovely-pancake-1.0.6.tar.gz.

File metadata

  • Download URL: lovely-pancake-1.0.6.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for lovely-pancake-1.0.6.tar.gz
Algorithm Hash digest
SHA256 b88e24eb4d5036d1c9089f22cbbab18bddd539ad57419baf965c042d0cc97866
MD5 3d7a2b7610e0933d6d3991376e7ac67e
BLAKE2b-256 20cbee344cf5855184645ad366679fbb1fc53a55338912ad15e4c9d4eb561ea7

See more details on using hashes here.

File details

Details for the file lovely_pancake-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: lovely_pancake-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for lovely_pancake-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c9a4490e62a8c5f1208aff333e47db5214a26ff7f23b303012740b7d532958aa
MD5 44b795a11bd1efce19e565c749b58b33
BLAKE2b-256 816f43cfd7999b6624c2ca99b288d3605ea33fca56e79e6dc0a62503a5bedc1a

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