JSybrandt / agatha

AGATHA: Automatic Graph-mining And Transformer based Hypothesis generation Approach
http://agatha-hypothesis-generation.rtfd.io/
GNU General Public License v3.0
56 stars 9 forks source link

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

Open qing-quan-li opened 4 months ago

qing-quan-li commented 4 months ago

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.