Will downloading files locally from Google Colab's workspace use my internet or Colab's?

北战南征 提交于 2021-01-29 17:48:44

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/57864610/will-downloading-files-locally-from-google-colabs-workspace-use-my-internet-or

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!