Created a new script to train a warping warp-train-image.py. Most of the changes were in ifmorph.dataset. Created a new dataset for warping using discrete images (DiscreteImageWarpingDataset). Significant changes to ImageDataset as well, finally added batching code to the image dataset. Passing the pixel indices to ImageDataset.__getitem__ and returning the indices as well to propagate them to other instances (not used anymore, but kept the change).
Created a new script to train a warping
warp-train-image.py
. Most of the changes were inifmorph.dataset
. Created a new dataset for warping using discrete images (DiscreteImageWarpingDataset
). Significant changes toImageDataset
as well, finally added batching code to the image dataset. Passing the pixel indices toImageDataset.__getitem__
and returning the indices as well to propagate them to other instances (not used anymore, but kept the change).