make ToTensor() cope with all PIL image types (#67)
YCbCr breaks the code without warning. Changed the code to make `ToTensor()` cope with all PIL image types.
Showing
Please register or sign in to comment
YCbCr breaks the code without warning. Changed the code to make `ToTensor()` cope with all PIL image types.