root (str or pathlib.Path) – Root directory of the Sintel Dataset.
split (string, optional) – The dataset split, either “train” (default) or “test”
pass_name (string, optional) – The pass to use, either “clean” (default), “final”, or “both”. See link above for
details on the different passes.
transforms (callable, optional) – A function/transform that takes in
img1, img2, flow, valid_flow_mask and returns a transformed version.
valid_flow_mask is expected for consistency with other datasets which
return a built-in valid mask, such as KittiFlow.
loader (callable, optional) – A function to load an image given its path.
By default, it uses PIL as its image loader, but users could also pass in
torchvision.io.decode_image for decoding image data into tensors directly.