<filename>check_torch.py
import torch
import torchvision
print(torch.__version__)
print(torchvision.__version__)
<filename>check_torch.py
import torch
import torchvision
print(torch.__version__)
print(torchvision.__version__)