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.5.tar.gz (2.2 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.5-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lovely-pancake-1.0.5.tar.gz
  • Upload date:
  • Size: 2.2 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.5.tar.gz
Algorithm Hash digest
SHA256 ebc2f0043e271b0a3d5e6f7c724b3bf8e3c415fe9651c406b129aeadd82d55c4
MD5 1343d0f97e62d542a1435870d8cc4f59
BLAKE2b-256 057356b0219cc26231851b6aa84642a270565c376b898b6a18bd9eabadc60bb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lovely_pancake-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 586e343c8576f79ec6afd57bdf120efb1ce3c53c8c549323fceb6c36c3806d56
MD5 b8f6e50a8ed47260bf53167060e0d6c8
BLAKE2b-256 ac8547b847258b8673ec388adc237320efb52c0597f78afb62b149c407068374

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