Skip to main content

ml support code in python

Typical usage often looks like this:

#!/usr/bin/env python
import ml_utils as mlu
mlu.imutils.resize_keep_aspect(img_arr):

Some functions for supporting machine learning, generally and caffe-specific. Currently just a dump, ideally will clean up and add install.py, examples etc

caffe - python layers for

  • image read (file or lmdb) - single / multi label, pixel level labels

  • on-the-fly augmentation

  • support for pixel-level segmentation (read mask as label, etc)

  • controlling and reporting acc/loss of solver with solver.step

image processing

  • image augmentation - including bounding boxes and pixel level

  • acccuracy/precision/recall reporting for single label, multilabel , bounding box, and pixel level

  • utilities e.g. read from anywhere (url/db/local file/img array)

  • grabcut

read/write various file formats

  • lmdb, hd5

  • yolo

  • deepfashion

  • tamara berg

  • ILSRVC

  • etc

tagging tools

  • multilabel

  • pixel level

Release files for nn-utils 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nn-utils 0.1.0
File Size Uploaded
nn_utils-0.1.0.tar.gz 155.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nn-utils 0.1.0
File Interpreter ABI Platform
nn_utils-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 481.9 kB

Release files / nn_utils-0.1.0.tar.gz

Download URL nn_utils-0.1.0.tar.gz
Size 155.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b953eb4cc56971220dfe040903a6fdda64898adfb6abb561cca11c1f5a1e238a
BLAKE2b-256 checksum
How to use checksums
24c1d2945e8c2a5edf15938225f62da3dcd0af004fef9576ab2faec1ec2c247c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / nn_utils-0.1.0-py2.py3-none-any.whl

Download URL nn_utils-0.1.0-py2.py3-none-any.whl
Size 326.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
da13f723bb3feb843999348b79fa38ceccab7d1b5076ddf46525fb9070a3070c
BLAKE2b-256 checksum
How to use checksums
dc9de71db8903643a187b55310289bcd6175bbba7cae6547d9511a4334056cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page