'Tranforms from torchvision is not working?

My line of code is
from torchvision import transforms simple_tranform=transforms.Compose([transforms.Resize((224,224)),tranforms.ToTensor(),transforms.Normalize([0.485,0.456,0.406],[0.229,0.224,0.225])])
Yet it shows me an error of NameError: name 'tranforms' is not defined I don't understand why as this is my first time using it
Many thanks
I tried googling it and followed all the advice but it didn't work. I expected it to work.
Solution 1:[1]
You have a typo:
..., tranforms.ToTensor(), ...
Should be
..., transforms.ToTensor(), ...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Shai |
