Skip to content

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

@qing-quan-li

Description

@qing-quan-li

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions