ocr-vqgan icon indicating copy to clipboard operation
ocr-vqgan copied to clipboard

Stuck on Downloading ocr_craft Model During Training

Open qingpowuwu opened this issue 10 months ago • 1 comments

Hi! I attempted to train the model using the main.py script. The script starts off well but seems to get stuck when attempting to download the ocr_craft model. There's no progress in the download bar, I got these messages:

Global seed set to 7
Running on GPUs 0,
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
loaded pretrained LPIPS loss from taming/modules/autoencoder/lpips/vgg.pth
Downloading ocr_craft model from 1Jk4eGD7crsqCCg9C9VjCLkMN3ze8kutZ to taming/modules/autoencoder/ocr_perceptual/craft_mlt_25k.pth

After I have waited for a long time I got:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1Jk4eGD7crsqCCg9C9VjCLkMN3ze8kutZ&confirm=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7efbfded7b20>: Failed to establish a new connection: [Errno 110] Connection timed out'))

qingpowuwu avatar Sep 01 '23 08:09 qingpowuwu