Skip to main content

Independent IBR5, IBR6, and Defused IBR algorithms

Project description

ibr-defused-algorithms

Independent PyPI module for:

  • IBR5Net (5-stage from-scratch CNN)
  • IBR6Net (6-stage from-scratch CNN)
  • DefusedIBR5IBR6 (late fusion of IBR5 + IBR6 features)

This package is fully separated from your personal skin-lesion project logic.

Install Locally

pip install -e .

Usage

import torch
from ibr_defused_algo import IBR5Net, IBR6Net, DefusedIBR5IBR6

x = torch.randn(4, 3, 224, 224)

ibr5 = IBR5Net(num_classes=7)
ibr6 = IBR6Net(num_classes=7)
defused = DefusedIBR5IBR6(num_classes=7)

print(ibr5(x).shape)     # [4, 7]
print(ibr6(x).shape)     # [4, 7]
print(defused(x).shape)  # [4, 7]

Publish to PyPI

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*

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

ibr_defused_algorithms-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

ibr_defused_algorithms-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ibr_defused_algorithms-0.1.0.tar.gz.

File metadata

  • Download URL: ibr_defused_algorithms-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ibr_defused_algorithms-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cba51168a271e13ff3cbc870716ea0be0b5d430cbb07d9e9ca8e922a3d613f2d
MD5 e0e7f2e322b0fcb914c58dfe4db1834c
BLAKE2b-256 50dd1eca5eb022535f9166e313f366e102bee211b45dbb7bbf1c7c0a85cc4d52

See more details on using hashes here.

File details

Details for the file ibr_defused_algorithms-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ibr_defused_algorithms-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98fa00b7316662688ab0a1c4ea0c8a32e19844ebfa0b900ef78529f24bd7e8db
MD5 59cf29438c9e9abc5a1f7df400009c53
BLAKE2b-256 e11f50d09a776abdfb077f4a9b8946c821d66c51ad58d1ada29597301fe8f226

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