Skip to content

无法远程下载预训练模型 #16

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

Open
qing-quan-li opened this issue Jul 16, 2024 · 0 comments
Open

无法远程下载预训练模型 #16

qing-quan-li opened this issue Jul 16, 2024 · 0 comments

Comments

@qing-quan-li
Copy link

When I try using gdown to get the pretrained model, I get the following error:
PS D:\Agatha\agatha\data> gdown --id 1Tka7zPF0PdG7yvGOGOXuEsAtRLLimXmP
D:\anaconda3\Lib\site-packages\gdown_main_.py:132: FutureWarning: Option --id was deprecated in version 4.3.1 and will be removed in 5.0. You don't need to pass it anymore to use a file ID.
warnings.warn(
D:\anaconda3\Lib\site-packages\gdown\download.py:32: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
soup = bs4.BeautifulSoup(line, features="html.parser")
Failed to retrieve file url:

    Cannot retrieve the public link of the file. You may need to change
    the permission to 'Anyone with the link', or have had many accesses.
    Check FAQ in https://github.com/wkentaro/gdown?tab=readme-ov-file#faq.

You may still be able to access the file from the browser:

    https://drive.google.com/uc?id=1Tka7zPF0PdG7yvGOGOXuEsAtRLLimXmP

but Gdown can't. Please check connections and permissions.
I can download it form the link, but would prefer to be able to use gdown since I'm working on a cluster, and it's a very large model.

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

1 participant