Translation Equivariant ModelS (TEMS)
See the docs here
Available Models
- UNet
Why use these Models
- It is surprisingly annoying to make a torch modules that are compatible with
torch.jit.scriptfor easy packaging and sharing. All models in this library are tested for serlializaiton/deserialization withtorch.jit.script - All models in this library have some helpful properties:
min_input_shape- the minimum amount of data that can be passed through a modelmin_output_shape- the output shape when given data with shape:min_input_shapecontext- (input_shape-output_shape)equivariant_step- The minimum value by which you must increase the input shape to be able to process without error
- All models are translation equivariant when in eval mode and with padding="valid"
- To maintain translation equivariance, we sometimes need to crop more aggressively. This is only done in
evalmode since it is assumed you will not be processing data blockwise during training. Note thatmin_input_shape,min_output_shape, andcontextwill thus all change when the model is switched between modes. - This behaviour is explicitly tested and shown to be true s.t. while training, blockwise processing is not the same as full in memmory operations, wheras while in eval mode, this identity holds.
- Crops to maintain translation equivariance are minimal to maximize the efficiency of blockwise processing with these models.
- To maintain translation equivariance, we sometimes need to crop more aggressively. This is only done in
- Nice simple pure torch implementation. No other dependencies.
Metadata
Release files for tems 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tems-1.0.4.tar.gz | 12.9 kB | Without provenance | Details for tems-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tems-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for tems-1.0.4-py3-none-any.whl |
Total release size: 24.6 kB
Release files / tems-1.0.4.tar.gz
| Download URL | tems-1.0.4.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb9452f02335e95a1f8f2e9ed7094863c1577cae622dbb6ef141e19475bec1c5
|
|
BLAKE2b-256 checksum How to use checksums |
2b24b11733405ece8c640d8918b3316301a7d9bbe7a3609774d201b363768857
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / tems-1.0.4-py3-none-any.whl
| Download URL | tems-1.0.4-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0908e624a60b541143721029ee86b036d5bad1e63e457085cd8f0f02cef69a02
|
|
BLAKE2b-256 checksum How to use checksums |
fbf2ea81d1ab754dc1e30108fbac69699cb782cff4e7a938b6f46bedf6467181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for tems 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.