Skip to main content

Wavelet-band transformer segmentation networks

Project description

wavenetr: Wavelet-Band Transformer Segmentation Networks

PyPI Version Python Versions TensorFlow License

wavenetr provides TensorFlow/Keras WaveNETR models for 2D and 3D segmentation using WaveletViT bottleneck blocks.

Capabilities

  • WaveNETR2D and WaveNETR3D segmentation models.
  • WaveNETR2DSquareCore and WaveNETR3DSquareCore for fixed square/cubic inputs.
  • CVWaveNETR2D and CVWaveNETR3D variational variants.
  • Channel-last TensorFlow/Keras inputs.

Limitations

  • Square inputs are required for WaveNETR2DSquareCore.
  • Cubic inputs are required for WaveNETR3DSquareCore.
  • Spatial sizes must be compatible with the configured wavelet levels and token stride.

Dependencies

  • tensorflow
  • waveletvit

Installation

pip install wavenetr

Minimal Example

import tensorflow as tf
from wavenetr import WaveNETR3D

model = WaveNETR3D(
    input_shape=(32, 32, 32, 1),
    n_classes=4,
)

x = tf.random.normal([1, 32, 32, 32, 1])
y = model(x)

print(y.shape)

Citation

This software is released for broad research, educational, and engineering use. If this package helps your work, please cite the following paper:

@misc{tarafdar2026interpretablefrugallearningsystems,
      title={Interpretable and Frugal Learning Systems Employing Multiresolution Pyramids and Volterra Kernels},
      author={Kishore Kumar Tarafdar},
      year={2026},
      eprint={2606.15011},
      archivePrefix={arXiv},
      primaryClass={eess.SP},
      url={https://arxiv.org/abs/2606.15011},
}

License

Apache License 2.0. See LICENSE.

Copyright 2026 Kishore Kumar Tarafdar.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

wavenetr-0.0.1-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file wavenetr-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: wavenetr-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for wavenetr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e07198ce84bb99550d11b44b947a9732faf23a8acfe3010a538c42dc53c8c3a1
MD5 93769d359c1d389b44490cf8326a3db4
BLAKE2b-256 354ef2ed524602a0242b2302e3c1924c04cf913946741fed12a3d36b5552f85d

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