Skip to main content

Official Pypi Implementation of "SRI-Conv: Symmetric Rotation-Invariant Convolutional Kernel"

Yuexi Du, Nicha, Dvornek, John Onofrey

Yale University

This is the official release of SRI_Conv

version: 1.2.5

News

  • [1.2.0] Gaussian Smooth Kernel is available now!
  • [1.1.0] SRI_Conv1d and SRI_Conv3d are also available now.

Installation

pip install SRI-Conv

Requirement:

"scipy>=1.9.0",
"numpy>=1.22.0",
"torch>=1.8.0"

Note: Using lower version of torch and numpy should be fine given that we didn't use any new feature in the new torch version, but we do suggest you to follow the required dependencies. If you have to use the different version of torch/numpy, you may also try to install the package from source code at project repo.

Usage

>>> import torch
>>> from SRI_Conv import SRI_Conv2d, sri_resnet18
>>> x = torch.randn(2, 3, 32, 32)
>>> sri_conv = SRI_Conv2d(3, 16, 3)
>>> conv_out = sri_conv(x)
>>> sri_r18 = sri_resnet18()
>>> output = sri_r18(x)
# To reproduce the SRI-ResNet18 used in the paper, use:
>>> sri_r18 = sri_resnet18(ri_conv_size=[9, 9, 5, 5], skip_first_maxpool=True)

Metadata

Release files for SRI-Conv 1.2.5

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

Source distribution (sdist)

Source distribution for SRI-Conv 1.2.5
File Size Uploaded
sri_conv-1.2.5.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SRI-Conv 1.2.5
File Interpreter ABI Platform
SRI_Conv-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / sri_conv-1.2.5.tar.gz

Download URL sri_conv-1.2.5.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ef5f40b0c485f7ef6709e4abf92f26d3be6cddf839d6a466438803d7ac436794
BLAKE2b-256 checksum
How to use checksums
a62b96ec71fe2650a150ede2ac286c56cc03e963bf6055a189aa0e6765b7275e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / SRI_Conv-1.2.5-py3-none-any.whl

Download URL SRI_Conv-1.2.5-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8595134cacb267a004b6f9cf4c47a24fbeb31dbf18078070a8784c8138fc36a6
BLAKE2b-256 checksum
How to use checksums
329235261c934d3a0f3ddeef98adf9cf3a07d3d70ebf9a9a45f26f33b6b8812d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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