BioMedIA / deepali

Image, point set, and surface registration in PyTorch.
https://biomedia.github.io/deepali/
Apache License 2.0
26 stars 6 forks source link

tmp fix of center_crop #49

Closed ybai-hf closed 1 year ago

ybai-hf commented 1 year ago

Image.center_crop passes itself (self) to the underlying function which assumes the input to be torch.Tensor. A better fix should be done in Image.__getitem__