Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pil_to_tensor accimage backend return uint8 (pytorch#3109)
accimage always stores images as uint8, so let's be compatible with the internal representation. Tests were failing without this as it would return a float32 image normalized between 0-1
- Loading branch information