Last active
September 29, 2022 21:40
-
-
Save korakot/f3600576720206363c734eca5f302e38 to your computer and use it in GitHub Desktop.
Mount GCS bucket on Colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.colab import auth | |
auth.authenticate_user() | |
!echo "deb http://packages.cloud.google.com/apt gcsfuse-bionic main" > /etc/apt/sources.list.d/gcsfuse.list | |
!curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
!apt -qq update | |
!apt -qq install gcsfuse | |
!mkdir co-lab | |
!gcsfuse co-lab /content/co-lab | |
# this won't work with "requester pays" bucket, you need gsutil instead | |
# !gsutil -u "kora-id" cp gs://bucket_name/path_to/image.png . |
Nope. Gave up.
…On Sun, Sep 5, 2021, 03:32 Aaron Joseph Mathew ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
I am facing the same issue. Were you able to debug this ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/f3600576720206363c734eca5f302e38#gistcomment-3882770>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKHJ2QS7WACBZDG6FNM6DK3UAMMIJANCNFSM4MXTHL2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Yeah, also, it doesn't make sense to mount GCS bucket. Latency is a big minus.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am facing the same issue. Were you able to debug this ?