SintelStereo¶
- class torchvision.datasets.SintelStereo(root: Union[str, Path], pass_name: str = 'final', transforms: Optional[Callable] = None)[source]¶
Sintel Stereo Dataset.
The dataset is expected to have the following structure:
root Sintel training final_left scene1 img1.png img2.png ... ... final_right scene2 img1.png img2.png ... ... disparities scene1 img1.png img2.png ... ... occlusions scene1 img1.png img2.png ... ... outofframe scene1 img1.png img2.png ... ...
- Parameters:
root (str or
pathlib.Path
) – Root directory where Sintel Stereo is located.pass_name (string) – The name of the pass to use, either “final”, “clean” or “both”.
transforms (callable, optional) – A function/transform that takes in a sample and returns a transformed version.
- Special-members: