MIR.utils.other_utils
Miscellaneous utility helpers for MIR.
Functions
|
Reassign SLANT label IDs to contiguous indices. |
|
Creates a zip file from a directory. |
|
Load weights from a checkpoint into a model, skipping unmatched layers. |
|
Load a pickled object from disk. |
|
|
|
Save an object to a pickle file. |
|
|
|
Resize a 3D image to match target pixel dimensions. |
Classes
|
Crop or pad a 3‑D medical image tensor so the spatial size becomes exactly target_size = (X, Y, Z). |