-
Notifications
You must be signed in to change notification settings - Fork 11
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
Is there a link to download oscar_split_ViT-B_32_train_512.pkl with wget? #14
Comments
You can use wget download the file from Google Driver directly, the code is "wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1CVsEQ5YRH3b6ZVRr7gY7ni7Ge1TgHvuM' -O- | sed -rn 's/.confirm=([0-9A-Za-z_]+)./\1\n/p')&id=1CVsEQ5YRH3b6ZVRr7gY7ni7Ge1TgHvuM" -O FILENAME && rm -rf /tmp/cookies.txt" |
I feel like I’m getting mad: I changed it the first machine ‘cause I can’t manage java since I use it with ssh and I don’t have sudo rights. Now I’m trying to train the model on Amazon Ecs2 and I got this problem to download oscar split:
Resolving docs.google.com (docs.google.com)... 142.250.184.78, 2a00:1450:4002:405::200e
Connecting to docs.google.com (docs.google.com)|142.250.184.78|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2023-01-12 10:48:46 ERROR 400: Bad Request.
That come up using the code you sent me to wget from google drive.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
…________________________________
From: buxiangzhiren ***@***.***>
Sent: Thursday, January 12, 2023 4:41:13 AM
To: buxiangzhiren/DDCap ***@***.***>
Cc: Vincenzo Silvio ***@***.***>; Author ***@***.***>
Subject: Re: [buxiangzhiren/DDCap] Is there a link to download oscar_split_ViT-B_32_train_512.pkl with wget? (Issue #14)
You can use wget download the file from Google Driver directly, the code is "wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1CVsEQ5YRH3b6ZVRr7gY7ni7Ge1TgHvuM' -O- | sed -rn 's/.confirm=([0-9A-Za-z_]+)./\1\n/p')&id=1CVsEQ5YRH3b6ZVRr7gY7ni7Ge1TgHvuM" -O FILENAME && rm -rf /tmp/cookies.txt"
where FILENAME denotes your destination directory. More information about this command is in ***@***.***/download-google-drive-files-using-wget-3c2c025a8b99".
—
Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APCPMZGEYTTCT4DQA7BIKDLWR54NTANCNFSM6AAAAAATYSBWSM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
Yeye I add variable environments in py file but code still can’t find Java file even if the path I give is absolutely correct
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: buxiangzhiren ***@***.***>
Sent: Thursday, January 12, 2023 12:34:08 PM
To: buxiangzhiren/DDCap ***@***.***>
Cc: Vincenzo Silvio ***@***.***>; Author ***@***.***>
Subject: Re: [buxiangzhiren/DDCap] Is there a link to download oscar_split_ViT-B_32_train_512.pkl with wget? (Issue #14)
1. The code of "os.environ" does not require the sudo right. I think it is workable if you add it in the .py file.
2. The issue of wget seems like that you cannot connect to docs.google.com.
—
Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APCPMZD3YDPCO5CH4J7TKCDWR7T3BANCNFSM6AAAAAATYSBWSM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You could use curl to download the file instead of wget, the commands are |
First, you should make sure that you can connect to google. Maybe you need VPN or set up a proxy internet. |
No description provided.
The text was updated successfully, but these errors were encountered: