Reputation: 2385
I have a large file in my Google Colab Workspace. I want to download it to my local machine using the command files.download(name of the file)
. Will this use my internet or Colab's?
Upvotes: 0
Views: 341
Reputation: 38639
Both. Files downloaded from Colab will use the Internet connection of the client machine to receive the data, which will have been sent using the Internet connection of the Colab backend.
To inspect the file size, hover over the file in the file browser. In the image below, for example, the file is 294 kilobytes.
FYI, you can download by right clicking on the file and selecting download, which is a bit simpler than executing the code snippet in your question.
Upvotes: 1