Geo*_*eRF 6 python google-drive-api deep-learning jupyter-notebook google-colaboratory
我从这个Kaggle链接下载了大图像训练数据作为zip
https://www.kaggle.com/c/yelp-restaurant-photo-classification/data
我如何有效地实现以下目标?
谢谢
编辑:我尝试了下面的代码,但它崩溃了我的大型zip文件.有没有更好/更有效的方法来执行此操作,我可以在本地驱动器中指定文件的位置?
from google.colab import files
uploaded = files.upload()
for fn in uploaded.keys():
print('User uploaded file "{name}" with length {length} bytes'.format(
name=fn, length=len(uploaded[fn])))
Run Code Online (Sandbox Code Playgroud)