title: ImportError: cannot import name 'PY3' from 'torch._six'
body: <p>I am testing ZED Camera with the code on <a href="https://github.com/stereolabs/zed-pytorch" rel="noreferrer">https://github.com/stereolabs/zed-pytorch</a>. While running the final command: python zed_object_detection.py --config-file configs/caffe2/e2e_mask_rcnn_R_50_C4_1x_caffe2.yaml --min-image-size 256</p>
  <p>I get the following error:</p>
  <p>Traceback (most recent call last):
  File &quot;zed_object_detection.py&quot;, line 6, in 
  from predictor import COCODemo
  File &quot;/home/fypadmin/Desktop/23Apr_ZED/zed-pytorch/predictor.py&quot;, line 4, in 
  from torchvision import transforms as T
  File &quot;/home/fypadmin/anaconda3/envs/pytorch1/lib/python3.8/site-packages/torchvision/<strong>init</strong>.py&quot;, line 4, in 
  from torchvision import datasets
  File &quot;/home/fypadmin/anaconda3/envs/pytorch1/lib/python3.8/site-packages/torchvision/datasets/<strong>init</strong>.py&quot;, line 1, in 
  from .lsun import LSUN, LSUNClass
  File &quot;/home/fypadmin/anaconda3/envs/pytorch1/lib/python3.8/site-packages/torchvision/datasets/lsun.py&quot;, line 19, in 
  from .utils import verify_str_arg, iterable_to_str
  File &quot;/home/fypadmin/anaconda3/envs/pytorch1/lib/python3.8/site-packages/torchvision/datasets/utils.py&quot;, line 11, in 
  from torch._six import PY3
  ImportError: cannot import name 'PY3' from 'torch._six' (/home/fypadmin/anaconda3/envs/pytorch1/lib/python3.8/site-packages/torch/_six.py)</p>
  <p>I am new to ML and I am running pytorch 1.8.1. Looking forward to any help. Thanks</p>