Closed Mayorc1978 closed 2 years ago
Hi, there
Could you double check the version of your colab
copy? We changed the gdrive link a couple of days ago. It should be https://drive.google.com/file/d/17SW3MurX_78_CfT29DaBZuqnKEjkbzQv/view?usp=sharing
now.
Fixed now, was the only change in the colab?
Guess it is!
The ckpts.zip file doesn't download as expected:
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: gdown in /usr/local/lib/python3.9/dist-packages (4.4.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/dist-packages (from gdown) (4.65.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.9/dist-packages (from gdown) (4.9.3)
Requirement already satisfied: six in /usr/local/lib/python3.9/dist-packages (from gdown) (1.15.0)
Requirement already satisfied: requests[socks] in /usr/local/lib/python3.9/dist-packages (from gdown) (2.25.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.9/dist-packages (from gdown) (3.9.0)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.9/dist-packages (from beautifulsoup4->gdown) (2.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests[socks]->gdown) (1.26.15)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests[socks]->gdown) (2022.12.7)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.9/dist-packages (from requests[socks]->gdown) (4.0.0)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.9/dist-packages (from requests[socks]->gdown) (1.7.1)
/usr/local/lib/python3.9/dist-packages/gdown/parse_url.py:35: UserWarning: You specified a Google Drive link that is not the correct link to download a file. You might want to try `--fuzzy` option or the following url: https://drive.google.com/uc?id=17SW3MurX_78_CfT29DaBZuqnKEjkbzQv
warnings.warn(
Downloading...
From: https://drive.google.com/file/d/17SW3MurX_78_CfT29DaBZuqnKEjkbzQv/view?usp=sharing
To: /content/drive/MyDrive/sofganColab/sofgan/view?usp=sharing
71.3kB [00:00, 38.1MB/s]
unzip: cannot find or open ckpts.zip, ckpts.zip.zip or ckpts.zip.ZIP.
And as result I have the view?usp=sharing
file in my sofgan folder.
It seems that the command
!unzip -fq ckpts.zip
doesn't work because the command
!gdown https://drive.google.com/file/d/17SW3MurX_78_CfT29DaBZuqnKEjkbzQv/view?usp=sharing
doesn't work.
It worked for me in this way: I downloaded the ckpts.zip file manually and uploaded it to the root sofgan folder. Then, executed the command
!unzip ckpts.zip
Trying the colab version, but:
!gdown https://drive.google.com/uc?id=1LPKU3AJVlhnyXBGzLS0UrOEhIT1gcFpD Gives error, manually checking the link finds that the file is missing.