Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Downloading ocr_craft Model During Training #8

Open
qingpowuwu opened this issue Sep 1, 2023 · 1 comment
Open

Stuck on Downloading ocr_craft Model During Training #8

qingpowuwu opened this issue Sep 1, 2023 · 1 comment

Comments

@qingpowuwu
Copy link

qingpowuwu commented Sep 1, 2023

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'))
@huangyimingnb
Copy link

you can find the download links for these two models in the terminal output, download them manually, and place them in the 'taming/modules/autoencoder/ocr_perceptual/' folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants