ATTRIBUTE ERROR:module 'torchvision.transform' has no attribute 'Compose'

hello i am getting attribute errors saying that the torchvision.transform module doesn’t contain any Compose.

Hi,

Please noted that there are some dependencies between PyTorch and Torchvision.
Do you follow the recommended version shown in the below page?

Thanks.