Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b25c905

Browse files
bkmgitholly1238
andauthored
use lower case x (#1593)
Co-authored-by: Holly Sweeney <[email protected]>
1 parent 6cafb99 commit b25c905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

beginner_source/data_loading_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def __call__(self, sample):
286286

287287
# swap color axis because
288288
# numpy image: H x W x C
289-
# torch image: C X H X W
289+
# torch image: C x H x W
290290
image = image.transpose((2, 0, 1))
291291
return {'image': torch.from_numpy(image),
292292
'landmarks': torch.from_numpy(landmarks)}

0 commit comments

Comments
 (0)