forked from IPMUCD3/a3net_2024
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add quick tutorial on google drive <-> colab
- Loading branch information
Leander Thiele
committed
Aug 23, 2024
1 parent
33794e3
commit 5a2c30a
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# Hack Resources | ||
|
||
[data](https://drive.google.com/drive/u/1/folders/13ySEme-B8XDMYgTZ8_rVpMarRUUGYbTw) | ||
[google drive for data](https://drive.google.com/drive/u/1/folders/13ySEme-B8XDMYgTZ8_rVpMarRUUGYbTw) | ||
|
||
It is most straightforward to directly work with the above Google drive from colab, | ||
since the files don't need to leave Google's servers in that case. | ||
The way I figured out how to do this is as follows (there might be a better method): | ||
1. open the above Google drive. | ||
2. right-click on the file or folder you need. | ||
3. click "Organize" -> "Add shortcut". | ||
4. in "All locations", choose "My Drive" and click "Add". | ||
5. in the colab instance, open the "Files" explorer on the left. | ||
6. click "Mount Drive" icon. | ||
7. you should be able to see the file now. | ||
To switch the colab working directory to your drive, type: | ||
``cd "/content/drive/MyDrive/"`` |