Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 528 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 528 Bytes

torch-test

torch-test c1 = image.crop(img, 0,0,50,50) c2 = image.crop(img,25,0,75,50) c3 = image.crop(img, 55,0,105,50) c4 = image.crop(img, 75,0,125,50)

SVHN test_32x32.t7 th> loaded { y : DoubleTensor - size: 1x26032 X : ByteTensor - size: 26032x3x32x32 } th> t = torch.ByteTensor(1,10) [0.0001s] th> t[1][1] = 1

ori img path = /media/dada/D242E48742E471A1/Projects/python/IMG newTrain-1, 2, 3

th> string.byte('A') 65

th> string.byte('z') 122