I noticed that some transforms were missing from torchvision.transforms; for example, for example,  transforms.RandomPerspective.
torch.__version__
Out[17]: '1.0.1'

torchvision.__version__
Out[18]: '0.2.1'

I need to ask before trying anything, would updating torchvision via
conda update pytorch torchvision
solve the problem?