minivision-ai / Silent-Face-Anti-Spoofing

静默活体检测(Silent-Face-Anti-Spoofing)
Apache License 2.0
1.36k stars 453 forks source link

经过此操作的图片值并不是在0,1之间? #126

Closed cqray1990 closed 10 months ago

cqray1990 commented 10 months ago

test_transform = trans.Compose([ trans.ToTensor(), ]) img = test_transform(img)