I used download_file_from_google_drive before but now I get this error:
-> starting Download
Traceback (most recent call last):
File "download_miniImagent.py", line 53, in <module>
download_and_extract_miniImagenet(root=root)
File "download_miniImagent.py", line 35, in download_and_extract_miniImagenet
from torchvision.datasets.utils import download_file_from_google_drive, extract_archive
ImportError: cannot import name 'download_file_from_google_drive' from 'torchvision.datasets.utils' (/Users/Me/anaconda3/envs/project/lib/python3.7/site-packages/torchvision/datasets/utils.py)
why?
I see it on the github:
but it’s not on my downloaded version of torchvision, why?