Currently there doesn’t seem to be a function that can crop the tensor in PyTorch.
The only possible way that i can think of is converting it to PILImage and then cropping it.
For the second one :
Is it possible to use Dataloader on the landmarks , and then set the batch size.
Basically cropping the images from the CNN ouput , save it and then put it in a Dataloader and set the batch size as required.
Please correct me if  wrong.